Documentation ¶
Index ¶
- type Server
- func (s *Server) CreateUser(ctx context.Context, in *api.UserReq) (*api.UserReply, error)
- func (s *Server) DeleteUser(ctx context.Context, in *api.UserReq) (*api.UserReply, error)
- func (s *Server) Ping(ctx context.Context, in *api.PingReq) (*api.PingReply, error)
- func (s *Server) ReadUser(ctx context.Context, in *api.UserReq) (*api.UserReply, error)
- func (s *Server) Start()
- func (s *Server) Stop()
- func (s *Server) UpdateUser(ctx context.Context, in *api.UserReq) (*api.UserReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server server struct.
func (*Server) CreateUser ¶
CreateUser create user.
func (*Server) DeleteUser ¶
DeleteUser delete user.
Click to show internal directories.
Click to hide internal directories.