Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUserServant ¶
RegisterUserServant register User servant to gin
Types ¶
type LoginResp ¶
type LoginResp struct { UserInfo ServerInfo ServerInfo `json:"server_info"` JwtToken string `json:"jwt_token"` }
type ServerInfo ¶
type ServerInfo struct {
ApiVer string `json:"api_ver"`
}
type UnimplementedUserServant ¶
type UnimplementedUserServant struct{}
UnimplementedUserServant can be embedded to have forward compatible implementations.
func (UnimplementedUserServant) Chain ¶
func (UnimplementedUserServant) Chain() gin.HandlersChain
func (UnimplementedUserServant) Login ¶
func (UnimplementedUserServant) Login(req *LoginReq) (*LoginResp, mir.Error)
func (UnimplementedUserServant) Logout ¶
func (UnimplementedUserServant) Logout() mir.Error
Click to show internal directories.
Click to hide internal directories.