Documentation ¶
Index ¶
- type Implementation
- func (i *Implementation) CheckUsersExistence(ctx context.Context, req *desc.CheckUsersExistenceRequest) (*emptypb.Empty, error)
- 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.UnimplementedUserV1Server // contains filtered or unexported fields }
func NewImplementation ¶
func NewImplementation(userService service.UserService) *Implementation
func (*Implementation) CheckUsersExistence ¶
func (i *Implementation) CheckUsersExistence(ctx context.Context, req *desc.CheckUsersExistenceRequest) ( *emptypb.Empty, error, )
func (*Implementation) Create ¶
func (i *Implementation) Create(ctx context.Context, req *desc.CreateRequest) (*desc.CreateResponse, error)
func (*Implementation) Delete ¶
func (i *Implementation) Delete(ctx context.Context, req *desc.DeleteRequest) (*emptypb.Empty, error)
func (*Implementation) Get ¶
func (i *Implementation) Get(ctx context.Context, req *desc.GetRequest) (*desc.GetResponse, error)
func (*Implementation) Update ¶
func (i *Implementation) Update(ctx context.Context, req *desc.UpdateRequest) (*emptypb.Empty, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.