Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AuthRequestDto ¶
type AuthRequestDto struct { AccountID string `json:"account_id"` Credential Credential `json:"credential"` }
func (*AuthRequestDto) ToCredential ¶
func (auth *AuthRequestDto) ToCredential() (*entities.Credential, error)
func (*AuthRequestDto) Validate ¶
func (auth *AuthRequestDto) Validate() error
type Credential ¶
type Credential struct { Type entities.CredentialType `json:"type"` Value interface{} `json:"value"` }
type PaginationRequestDto ¶
type SearchRequestDto ¶
type SearchRequestDto struct { Query string `json:"query"` SortOrder constants.SortOrder `json:"order"` PaginationRequestDto }
Click to show internal directories.
Click to hide internal directories.