MCPcopy Index your code
hub / github.com/dearcode/candy / _Gate_LoadGroupList_Handler

Function _Gate_LoadGroupList_Handler

meta/gate.pb.go:1073–1089  ·  view source on GitHub ↗
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)

Source from the content-addressed store, hash-verified

1071}
1072
1073func _Gate_LoadGroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1074 in := new(GateLoadGroupListRequest)
1075 if err := dec(in); err != nil {
1076 return nil, err
1077 }
1078 if interceptor == nil {
1079 return srv.(GateServer).LoadGroupList(ctx, in)
1080 }
1081 info := &grpc.UnaryServerInfo{
1082 Server: srv,
1083 FullMethod: "/candy.meta.Gate/LoadGroupList",
1084 }
1085 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1086 return srv.(GateServer).LoadGroupList(ctx, req.(*GateLoadGroupListRequest))
1087 }
1088 return interceptor(ctx, in, info, handler)
1089}
1090
1091func _Gate_Heartbeat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1092 in := new(GateHeartbeatRequest)

Callers

nothing calls this directly

Calls 1

LoadGroupListMethod · 0.65

Tested by

no test coverage detected