Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetProvider ¶
type AssetProvider struct { ID string `json:"id" required:"id is required" validate:"required,min=4"` Provider string `json:"provider" required:"provider is required" validate:"required,min=4"` }
AssetProvider -
type Assets ¶
type Assets struct { ProviderID string `json:"providerId"` ID string `json:"id"` Sort int `json:"sort"` Type string `json:"type"` Name string `json:"name"` Active bool `json:"active"` AvailableProvider []RatesProvider `json:"availableProvider"` }
Assets -
type BrokersProvider ¶
type BrokersProvider struct { SortID int `json:"sortID"` ID string `json:"id"` Name string `json:"name"` Details string `json:"details"` Config BrokersProviderConfig `json:"config"` }
BrokersProvider -
type BrokersProviderConfig ¶
type BrokersProviderConfig struct { ID string `json:"id" required:"id is required" validate:"required,min=4"` Host string `json:"host" fqdn:"not valid Full Qualified Domain Name (FQDN)" validate:"fqdn"` Active bool `json:"active"` }
BrokersProviderConfig -
type ProviderConfig ¶
type ProviderConfig struct { ID string `json:"id" required:"id is required" validate:"required,min=4"` Email string `json:"email" required:"email is required" email:"email not valid" validate:"required,email"` Password string `json:"password" required:"password is required" min:"min password is 4 char" validate:"required,min=4"` APIKey string `json:"apiKey" required:"apiKey is required" min:"min password is 4 char" validate:"required,min=4"` Host string `json:"host" fqdn:"not valid Full Qualified Domain Name (FQDN)" validate:"fqdn"` EncryptionKey string `json:"encryptionKey" len:"encryptionKey must be 32 char" validate:"len=32"` UserAgent string `json:"userAgent" required:"userAgent is required" min:"min userAgent is 4 char" validate:"required,min=4"` Active bool `json:"active"` }
ProviderConfig -
type RatesProvider ¶
type RatesProvider struct { SortID int `json:"sortID"` ID string `json:"id"` Name string `json:"name"` Details string `json:"details"` Assets []Assets `json:"assets"` Config ProviderConfig `json:"config"` }
RatesProvider -
type Stores ¶
type Stores struct { Email sync.Map Users sync.Map Sessions sync.Map PublicKey sync.Map Token sync.Map AssetsProvider sync.Map }
Stores -
Click to show internal directories.
Click to hide internal directories.