Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAccountRequest ¶
type CreateAccountRequest struct {
Currency string `json:"currency" binding:"required,currency"`
}
type CreateUserRequest ¶
type LoginUserRequest ¶
type LoginUserResponse ¶
type LoginUserResponse struct { SessionID uuid.UUID `json:"session_id"` AccessToken string `json:"access_token"` AccessTokenExpiresAt time.Time `json:"access_token_expires_at"` RefreshToken string `json:"refresh_token"` RefreshTokenExpiresAt time.Time `json:"refresh_token_expires_at"` User userResponse `json:"user"` }
Click to show internal directories.
Click to hide internal directories.