Documentation
¶
Index ¶
Constants ¶
View Source
const ( LLError = iota LLWarning LLInfo LLTrace )
Variables ¶
This section is empty.
Functions ¶
func Fork ¶
func Fork(conf ReadJSONConfig)
func Signal ¶
func Signal(conf ReadJSONConfig, pid PidFile)
Types ¶
type LogFile ¶
type LogFile struct { LL int // contains filtered or unexported fields }
func (*LogFile) ON ¶
func (_s *LogFile) ON(conf ReadJSONConfig)
type PidFile ¶
type PidFile struct {
// contains filtered or unexported fields
}
func (*PidFile) OFF ¶
func (_s *PidFile) OFF(conf ReadJSONConfig)
func (*PidFile) ON ¶
func (_s *PidFile) ON(conf ReadJSONConfig)
type ReadJSONConfig ¶
type ReadJSONConfig struct { Silent string Config_file string Daemon_mode string Phase string Conf struct { PG_DSN string MY_DSN string SQLite_DB string AST_SQLite_DB string AST_CID_Group string AST_Num_Start string AST_ARI_Host string AST_ARI_Port int AST_ARI_User string AST_ARI_Pass string Oracle_SRV [][]string MSSQL_DSN [][]string LDAP_URL [][]string ROOT_OU string ROOT_DN [][]string Sleep_Time int Sleep_cycles int LOG_File string PID_File string TRANS_NAMES [][]string BlackList_OU []string WLB_SessTimeOut int WLB_Listen_IP string WLB_Listen_PORT int WLB_LDAP_ATTR [][]string WLB_SQL_PreFetch string WLB_MailBT string WLB_HTML_Title string AD_LDAP [][]string AD_ScriptDir string AD_LDAP_PARENT [][]string TRANS_POS [][]string SABRealm string WLB_DavDNTreeDepLev int LogLevel int UDR_WatchList [][]string UDR_Shell string UDR_ShellExecParam string SQH_LogPasswords string SQH_SQL_UserCheck string SQH_SQL_PassCheck string SQH_LDAP_URL [][]string SQH_AD_GroupMember string CardDAVIPSuffix []string SQL_Engine string E2O_JDomain string E2O_passwd string E2O_roster string E2O_vcard string E2O_OutXML string E2O_VCD_Engine string E2O_VCD_PG_DSN string E2O_VCD_MY_DSN string E2O_Name_Update string E2O_Name_PG_DSN string } }
func (*ReadJSONConfig) Init ¶
func (_s *ReadJSONConfig) Init(defLog, defCFG string)
func (*ReadJSONConfig) Update ¶
func (_s *ReadJSONConfig) Update()
Click to show internal directories.
Click to hide internal directories.