Documentation ¶
Index ¶
- type ApiConnection
- type General
- type Logger
- type Router
- func (router *Router) GetAuthorizationKey() string
- func (router *Router) GetBodyDump() bool
- func (router *Router) GetCORS() bool
- func (router *Router) GetDuration() time.Duration
- func (router *Router) GetEmailKey() string
- func (router *Router) GetPort() uint
- func (router *Router) GetRoleIdKey() string
- func (router *Router) GetUserIDKey() string
- type SQL
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiConnection ¶
func (*ApiConnection) GetTimeout ¶
func (a *ApiConnection) GetTimeout() time.Duration
type General ¶
type Logger ¶
type Router ¶
type Router struct { Port uint `validate:"required"` CORS bool BodyDump bool Duration time.Duration AuthorizationKey string UserIdKey string `validate:"required"` RoleIdKey string `validate:"required"` EmailKey string `validate:"required"` }
func (*Router) GetAuthorizationKey ¶
func (*Router) GetBodyDump ¶
func (*Router) GetDuration ¶
func (*Router) GetEmailKey ¶ added in v0.0.7
func (*Router) GetRoleIdKey ¶
func (*Router) GetUserIDKey ¶
type SQL ¶
type SQL struct { Host string `validate:"required"` Database string `validate:"required"` User string `validate:"required"` Password string `validate:"required"` }
func (*SQL) GetDatabase ¶
func (*SQL) GetPassword ¶
type Storage ¶
type Storage struct { Endpoint string `validate:"required"` AccessKey string `validate:"required"` SecretAccessKey string `validate:"required"` BucketName string `validate:"required"` }
func (*Storage) GetAccessKey ¶
func (*Storage) GetBucketName ¶
func (*Storage) GetEndpoint ¶
func (*Storage) GetSecretAccessKey ¶
Click to show internal directories.
Click to hide internal directories.