Documentation ¶
Index ¶
- func Register(s *grpcx.GrpcServer)
- type Controller
- func (*Controller) Create(ctx context.Context, req *v1.CreateReq) (res *v1.CreateRes, err error)
- func (*Controller) GetByToken(ctx context.Context, req *v1.GetByTokenReq) (res *v1.GetByTokenRes, err error)
- func (*Controller) GetOne(ctx context.Context, req *v1.GetOneReq) (res *v1.GetOneRes, err error)
- func (*Controller) Login(ctx context.Context, req *v1.LoginReq) (res *v1.LoginRes, err error)
- func (*Controller) Logout(ctx context.Context, req *v1.LogoutReq) (res *v1.LogoutRes, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
v1.UnimplementedUserServer
}
func (*Controller) GetByToken ¶
func (*Controller) GetByToken(ctx context.Context, req *v1.GetByTokenReq) (res *v1.GetByTokenRes, err error)
Click to show internal directories.
Click to hide internal directories.