Documentation
¶
Index ¶
- type Server
- func (i *Server) Create(ctx context.Context, req *desc.CreateRequest) (*desc.CreateResponse, error)
- func (i *Server) Delete(ctx context.Context, req *desc.DeleteRequest) (*empty.Empty, error)
- func (i *Server) Get(ctx context.Context, req *desc.GetRequest) (*desc.GetResponse, error)
- func (i *Server) Update(ctx context.Context, req *desc.UpdateRequest) (*empty.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { desc.UnimplementedNoteV1Server // contains filtered or unexported fields }
func NewServer ¶
func NewServer(userService service.UserService) *Server
func (*Server) Create ¶
func (i *Server) Create(ctx context.Context, req *desc.CreateRequest) (*desc.CreateResponse, error)
func (*Server) Get ¶
func (i *Server) Get(ctx context.Context, req *desc.GetRequest) (*desc.GetResponse, error)
Click to show internal directories.
Click to hide internal directories.