Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressHexInput ¶
type AddressHexInput struct {
AddressHex string
}
func NewAddressHexInput ¶
func NewAddressHexInput(addressHex string) *AddressHexInput
func (*AddressHexInput) Address ¶
func (in *AddressHexInput) Address() domain.Address
func (*AddressHexInput) Validate ¶
func (in *AddressHexInput) Validate() error
type AuthConfig ¶
type AuthConfig struct { Secret string `json:"secret"` TokenExpiryDurationSeconds int `json:"token_expiry_duration_seconds"` }
func (*AuthConfig) TokenExpiryDuration ¶
func (conf *AuthConfig) TokenExpiryDuration() time.Duration
type Config ¶
type Config struct {
Auth *AuthConfig `json:"auth"`
}
type Core ¶
type Core struct { Config *Config Services *Services Repositories *Repositories }
type Repositories ¶
type Repositories struct {
User user.Repository
}
Click to show internal directories.
Click to hide internal directories.