Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { CustomHtml string `mapstructure:"customHtml" json:"customHtml"` Title string `mapstructure:"title" json:"title"` Subtitle string `mapstructure:"subtitle" json:"subtitle"` ShowGithub bool `mapstructure:"showGithub" json:"showGithub"` LogoUrl string `mapstructure:"logoUrl" json:"logoUrl"` Disclaimer string `mapstructure:"disclaimer" json:"disclaimer"` Debug bool `mapstructure:"debug" json:"debug"` }
type AppConfiguration ¶
type AppConfiguration interface { *Configuration }
type Configuration ¶
type Configuration struct { Server `mapstructure:"server" json:"server"` App `mapstructure:"app" json:"app"` Dev `mapstructure:"dev" json:"dev"` Data `mapstructure:"data" json:"data"` }
func Load ¶
func Load(path string) (*Configuration, error)
Click to show internal directories.
Click to hide internal directories.