Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppConfiguration ¶
type AppConfiguration struct { Env string LogLevel string `mapstructure:"log"` Port int `mapstructure:"port"` Repository *RepositoryConfiguration Services *[]ServiceConfiguration }
AppConfiguration contains application specific data.
func (*AppConfiguration) Validate ¶
func (c *AppConfiguration) Validate() error
Validate performs basic validation on the contents of a configuration.
type RepositoryConfiguration ¶
RepositoryConfiguration contains the adapter, as well as options for creating the specific repository type, if applicable.
type ServiceConfiguration ¶
Click to show internal directories.
Click to hide internal directories.