Documentation
¶
Index ¶
- Constants
- func Bool(value interface{}) bool
- func ConfigFileName() string
- func ConfigRead(filename string, instance interface{}) error
- func ConfigWrite(filename string, instance interface{}) error
- func Configure() error
- func Float(nameValue interface{}) float64
- func Help()
- func Number(nameValue interface{}) int64
- func Setup() (err error)
- func String(nameValue interface{}) string
- func WizardPassword(message string) string
- func WizardPrompt(message string) string
- func WizardSetup() error
- type TypeCommand
- type TypeConfig
Constants ¶
View Source
const Name = "Tibula"
View Source
const Version = "18.10.9"
Variables ¶
This section is empty.
Functions ¶
func ConfigFileName ¶
func ConfigFileName() string
func ConfigRead ¶
func ConfigWrite ¶
func WizardPassword ¶
func WizardPrompt ¶
func WizardSetup ¶
func WizardSetup() error
Types ¶
type TypeCommand ¶
type TypeCommand struct {
Start bool `json:"start,omitempty"`
DbSetup bool `json:"db_setup,omitempty"`
Wizard bool `json:"wizard,omitempty"`
Help bool `json:"help,omitempty"`
}
var Commands TypeCommand
type TypeConfig ¶
type TypeConfig struct {
DbType string `json:"db_type,omitempty"`
DbName string `json:"db_name,omitempty"`
DbUser string `json:"db_user,omitempty"`
DbPass string `json:"db_pass,omitempty"`
DbHost string `json:"db_host,omitempty"`
DbPort int `json:"db_port,omitempty"`
DbSetupUser string `json:"db_setup_user,omitempty"`
DbSetupPass string `json:"db_setup_pass,omitempty"`
DbSetupPath string `json:"db_setup_path,omitempty"`
WebHost string `json:"web_host,omitempty"`
WebPort int `json:"web_port,omitempty"`
WebPath string `json:"web_path,omitempty"`
WebTlsPublic string `json:"web_tls_public,omitempty"`
WebTlsPrivate string `json:"web_tls_private,omitempty"`
ConfigFile string `json:"config_file,omitempty"`
Language string `json:"language,omitempty"`
LogLevel int `json:"log_level,omitempty"`
LogFile string `json:"log_file,omitempty"`
GoogleSsoId string `json:"google_sso_id,omitempty"`
}
var Options TypeConfig
Click to show internal directories.
Click to hide internal directories.