Documentation ¶
Index ¶
- type Implementation
- func (i *Implementation) Create(ctx context.Context, req *desc.CreateRequest) (*desc.CreateResponse, error)
- func (i *Implementation) Delete(ctx context.Context, req *desc.DeleteRequest) (*emptypb.Empty, error)
- func (i *Implementation) Get(ctx context.Context, req *desc.GetRequest) (*desc.GetResponse, error)
- func (i *Implementation) Update(ctx context.Context, req *desc.UpdateRequest) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Implementation ¶
type Implementation struct { desc.UnimplementedUser_V1Server // contains filtered or unexported fields }
Implementation of UserV1Server interface
func NewImplementation ¶
func NewImplementation(userV1Service service.UserV1Service) *Implementation
NewImplementation returns a new instance of UserV1Server implementation
func (*Implementation) Create ¶
func (i *Implementation) Create(ctx context.Context, req *desc.CreateRequest) (*desc.CreateResponse, error)
Create implements UserServiceServer.Create
func (*Implementation) Delete ¶
func (i *Implementation) Delete(ctx context.Context, req *desc.DeleteRequest) (*emptypb.Empty, error)
Delete implements UserServiceServer.Delete
func (*Implementation) Get ¶
func (i *Implementation) Get(ctx context.Context, req *desc.GetRequest) (*desc.GetResponse, error)
Get implements UserServiceServer.Get
func (*Implementation) Update ¶
func (i *Implementation) Update(ctx context.Context, req *desc.UpdateRequest) (*emptypb.Empty, error)
Update implements UserServiceServer.Update
Click to show internal directories.
Click to hide internal directories.