Documentation ¶
Index ¶
- func NewV1() auth.IAuthV1
- type ControllerV1
- func (c *ControllerV1) Forget(ctx context.Context, req *v1.ForgetReq) (res *v1.ForgetRes, err error)
- func (c *ControllerV1) Login(ctx context.Context, req *v1.LoginReq) (res *v1.LoginRes, err error)
- func (c *ControllerV1) Logout(ctx context.Context, req *v1.LogoutReq) (res *v1.LogoutRes, err error)
- func (c *ControllerV1) Refresh(ctx context.Context, req *v1.RefreshReq) (res *v1.RefreshRes, err error)
- func (c *ControllerV1) Register(ctx context.Context, req *v1.RegisterReq) (res *v1.RegisterRes, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ControllerV1 ¶
type ControllerV1 struct{}
func (*ControllerV1) Refresh ¶ added in v1.0.0
func (c *ControllerV1) Refresh(ctx context.Context, req *v1.RefreshReq) (res *v1.RefreshRes, err error)
func (*ControllerV1) Register ¶ added in v1.0.0
func (c *ControllerV1) Register(ctx context.Context, req *v1.RegisterReq) (res *v1.RegisterRes, err error)
Click to show internal directories.
Click to hide internal directories.