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

Function _Gate_LoadFriendList_Handler

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

Source from the content-addressed store, hash-verified

1035}
1036
1037func _Gate_LoadFriendList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1038 in := new(GateLoadFriendListRequest)
1039 if err := dec(in); err != nil {
1040 return nil, err
1041 }
1042 if interceptor == nil {
1043 return srv.(GateServer).LoadFriendList(ctx, in)
1044 }
1045 info := &grpc.UnaryServerInfo{
1046 Server: srv,
1047 FullMethod: "/candy.meta.Gate/LoadFriendList",
1048 }
1049 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1050 return srv.(GateServer).LoadFriendList(ctx, req.(*GateLoadFriendListRequest))
1051 }
1052 return interceptor(ctx, in, info, handler)
1053}
1054
1055func _Gate_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1056 in := new(GateCreateGroupRequest)

Callers

nothing calls this directly

Calls 1

LoadFriendListMethod · 0.65

Tested by

no test coverage detected