Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpsSettings ¶
type HttpsSettings = cs.HttpsSettings
HttpsSettings are settings of an HTTPS server for incoming requests.
type Settings ¶
type Settings struct { // Path to the file with these settings. FilePath cm.Path `json:"-"` // Program versioning information. VersionInfo *ver.Versioneer `json:"-"` HttpsSettings `json:"https"` DbSettings `json:"db"` SystemSettings `json:"system"` // External services. AcmSettings s.ServiceClientSettings `json:"acm"` MmSettings s.ServiceClientSettings `json:"mm"` }
Settings is Server's settings.
func NewSettingsFromFile ¶
func NewSettingsFromFile(filePath string, versionInfo *ver.Versioneer) (stn *Settings, err error)
func (*Settings) UseConstructor ¶
Click to show internal directories.
Click to hide internal directories.