Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct { Database ntpdb.DBConfig Listen string `default:":8000" usage:"Listen address" flag:"listen"` TLS struct { Key string `default:"/etc/tls/tls.key"` Cert string `default:"/etc/tls/tls.crt"` } DeploymentMode string `default:"" usage:"prod, test or devel" flag:"deployment-mode"` JWTKey string `default:"" usage:"JWT signing key" flag:"jwtkey"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.