Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct {
Version string `mapstructure:"version"`
Environment string `mapstructure:"environment"`
AssetDir string `mapstructure:"assetDir"`
WebDir string `mapstructure:"webDir"`
Handler HandlerConfig `mapstructure:"handler"`
L l.Configuration `mapstructure:"l"`
// Identity identity.Configuration `mapstructure:"identity"`
Raizel raizelSQL.Configuration `mapstructure:"raizel"`
}
Configuration holds all possible configurations structs
var ( //Value is the currently state of the system configuration values Value *Configuration )
func (Configuration) String ¶
func (c Configuration) String() string
type HandlerConfig ¶
type HandlerConfig struct {
Version string `mapstructure:"version"`
IP string `mapstructure:"ip"`
Port string `mapstructure:"port"`
}
HandlerConfig holds http handler parameters
func (HandlerConfig) BindAddress ¶
func (h HandlerConfig) BindAddress() string
BindAddress returns the ip + port tcp address for socket bind purposes
func (HandlerConfig) String ¶
func (h HandlerConfig) String() string
Click to show internal directories.
Click to hide internal directories.