Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RefreshTokenFromSchema ¶
func RefreshTokenFromSchema(in *RefreshToken) *refreshtoken.RefreshToken
Types ¶
type RefreshToken ¶
type RefreshToken struct { ID string `json:"id" validate:"required,alphanum"` UserID string `json:"user_id" validate:"required,alphanum"` Token string `json:"token" validate:"required,alphanum"` Revoked bool `json:"revoked,omitempty"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
func RefreshTokenToSchema ¶
func RefreshTokenToSchema(in *refreshtoken.RefreshToken) *RefreshToken
Click to show internal directories.
Click to hide internal directories.