Documentation ¶
Overview ¶
Package conf built-in iris web application configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Host string `yaml:"host"` Port int `yaml:"port"` Name string `yaml:"name"` Version string `yaml:"version"` // Enable debugger. DebugProf bool `yaml:"debug-prof"` DebugProfPrefix string `yaml:"debug-prof-prefix"` // Pid // runtime process id of os. Pid int `yaml:"-"` Started time.Time `yaml:"-"` // contains filtered or unexported fields }
Configuration is a config component for framework.
var Config *Configuration
Config is a singleton instance.
func (*Configuration) After ¶
func (o *Configuration) After()
Click to show internal directories.
Click to hide internal directories.