Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type User ¶
type User struct { userv1.UnimplementedUserServiceServer // contains filtered or unexported fields }
func NewUser ¶
func NewUser(svc UserService) *User
func (*User) Create ¶
func (h *User) Create(ctx context.Context, in *userv1.CreateRequest) (*userv1.CreateResponse, error)
func (*User) GetByID ¶
func (h *User) GetByID(ctx context.Context, in *userv1.GetByIDRequest) (*userv1.GetByIDResponse, error)
Click to show internal directories.
Click to hide internal directories.