Discover Packages
github.com/palp1tate/easy-im
apps
user
api
internal
types
package
Version:
v1.8.0
Opens a new window with list of versions in this module.
Published: Jun 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Code generated by goctl. DO NOT EDIT.
type LoginReq struct {
Phone string `json:"phone"`
Password string `json:"password"`
}
type LoginResp struct {
Token string `json:"token"`
Expire int64 `json:"expire"`
}
type RegisterReq struct {
Phone string `json:"phone"`
Password string `json:"password"`
Nickname string `json:"nickname"`
Sex byte `json:"sex"`
Avatar string `json:"avatar"`
}
type RegisterResp struct {
Token string `json:"token"`
Expire int64 `json:"expire"`
}
type User struct {
Id string `json:"id"`
Phone string `json:"phone"`
Nickname string `json:"nickname"`
Sex byte `json:"sex"`
Avatar string `json:"avatar"`
}
type UserInfoReq struct {
}
type UserInfoResp struct {
Info User `json:"info"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.