in api/proto/ratis/ratis-grpc.pb.go [693:709]
func _AdminProtocolService_GroupManagement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GroupManagementRequestProto)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminProtocolServiceServer).GroupManagement(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ratis.grpc.AdminProtocolService/GroupManagement",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminProtocolServiceServer).GroupManagement(ctx, req.(*GroupManagementRequestProto))
}
return interceptor(ctx, in, info, handler)
}