Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( General cfg Database MySQL )
Functions ¶
func FeslClientAddr ¶
func FeslClientAddr() string
func FeslServerAddr ¶
func FeslServerAddr() string
func Initialize ¶
func Initialize()
func ParseCertificate ¶
func ParseCertificate() (tls.Certificate, error)
func ThtrClientAddr ¶
func ThtrClientAddr() string
func ThtrServerAddr ¶
func ThtrServerAddr() string
Types ¶
type MySQL ¶
type MySQL struct { UserName string `envconfig:"DATABASE_USERNAME" default:"root"` Password string `envconfig:"DATABASE_PASSWORD"` Host string `envconfig:"DATABASE_HOST" default:"127.0.0.1"` Port int `envconfig:"DATABASE_PORT" default:"3306"` Name string `envconfig:"DATABASE_NAME" default:"naomi"` }
Click to show internal directories.
Click to hide internal directories.