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) Index ¶
func (UnimplementedUserServant) Index() mir.Error
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.