Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrServiceName = "service name error" ErrConfigurationFilePathDefault = "default configuration file path error" )
View Source
const ( ServiceName_ACM = "Access Control Module" ServiceName_GWM = "Gateway Module" ServiceName_MM = "Message Module" ServiceName_NM = "Notification Module" ServiceName_RCS = "Captcha Module" ServiceName_SM = "Subscription Module" ServiceName_SMTP = "SMTP Module" )
View Source
const ( ConfigurationFilePathDefault_ACM = "ACM.json" ConfigurationFilePathDefault_GWM = "GWM.json" ConfigurationFilePathDefault_MM = "MM.json" ConfigurationFilePathDefault_NM = "NM.json" ConfigurationFilePathDefault_RCS = "RCS.json" ConfigurationFilePathDefault_SM = "SM.json" ConfigurationFilePathDefault_SMTP = "SMTP.json" )
View Source
const ( ServiceShortName_ACM = "ACM" ServiceShortName_GWM = "GWM" ServiceShortName_MM = "MM" ServiceShortName_NM = "NM" ServiceShortName_RCS = "RCS" ServiceShortName_SM = "SM" ServiceShortName_SMTP = "SMTP" )
View Source
const ( ModuleId_ACM = cm.Module_ACM ModuleId_GWM = cm.Module_GWM ModuleId_MM = cm.Module_MM ModuleId_NM = cm.Module_NM ModuleId_RCS = cm.Module_RCS ModuleId_SM = cm.Module_SM ModuleId_SMTP = cm.Module_SMTP )
Variables ¶
This section is empty.
Functions ¶
func NewSettingsFromFile ¶
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶
func (*Application) Use ¶
func (a *Application) Use() (err error)
type CommandLineArguments ¶
type CommandLineArguments struct {
// contains filtered or unexported fields
}
func NewCommandLineArgumentsFromOsArgs ¶
func NewCommandLineArgumentsFromOsArgs(osArgs []string, defaultCfgFilePath string) (cla *CommandLineArguments, err error)
func (*CommandLineArguments) GetConfigurationFilePath ¶
func (cla *CommandLineArguments) GetConfigurationFilePath() string
func (*CommandLineArguments) IsDefaultFile ¶
func (cla *CommandLineArguments) IsDefaultFile() (isDefaultFile bool)
IsDefaultFile tells whether the default file path is used for the configuration file.
Click to show internal directories.
Click to hide internal directories.