Server API for UserService service
| 86 | // Server API for UserService service |
| 87 | |
| 88 | type UserServiceHandler interface { |
| 89 | Register(context.Context, *UserRequest, *UserResponse) error |
| 90 | Login(context.Context, *UserRequest, *UserResponse) error |
| 91 | UserInfo(context.Context, *UserInfoRequest, *UserInfoResponse) error |
| 92 | } |
| 93 | |
| 94 | func RegisterUserServiceHandler(s server.Server, hdlr UserServiceHandler, opts ...server.HandlerOption) error { |
| 95 | type userService interface { |
nothing calls this directly
no outgoing calls
no test coverage detected