| 792 | } |
| 793 | |
| 794 | func _Store_Auth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 795 | in := new(StoreAuthRequest) |
| 796 | if err := dec(in); err != nil { |
| 797 | return nil, err |
| 798 | } |
| 799 | if interceptor == nil { |
| 800 | return srv.(StoreServer).Auth(ctx, in) |
| 801 | } |
| 802 | info := &grpc.UnaryServerInfo{ |
| 803 | Server: srv, |
| 804 | FullMethod: "/candy.meta.Store/Auth", |
| 805 | } |
| 806 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 807 | return srv.(StoreServer).Auth(ctx, req.(*StoreAuthRequest)) |
| 808 | } |
| 809 | return interceptor(ctx, in, info, handler) |
| 810 | } |
| 811 | |
| 812 | func _Store_Friend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 813 | in := new(StoreFriendRequest) |