Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InternalError = sterr.New("occurred error, please try again later")
Functions ¶
This section is empty.
Types ¶
type CreateUserRequest ¶
type LoginRequest ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateUser ¶
CreateUser user register view
type UserInfo ¶
type UserInfo struct { SessionID uuid.UUID `json:"session_id"` AccessToken string `json:"access_token"` AccessExpireAt time.Time `json:"access_expire_at"` RefreshToken string `json:"refresh_token"` RefreshExpireAt time.Time `json:"refresh_expire_at"` Username string `json:"username"` FullName string `json:"full_name"` Email string `json:"email"` CreatedAt time.Time `json:"created_at"` }
Click to show internal directories.
Click to hide internal directories.