Documentation ¶
Index ¶
- type Config
- func (c Config) GetAppDev() string
- func (c Config) GetAppName() string
- func (c Config) GetConfigDir() string
- func (c Config) GetDBName() string
- func (c Config) GetDBSSL() string
- func (c Config) GetDBUser() string
- func (c Config) GetListenPort() int
- func (c Config) GetTableName() string
- func (c Config) GetWantsClean() bool
- func (c Config) GetcertPathDir() string
- func (c Config) GetcertPathRemote() string
- func (c Config) GetcertPathSelfDir() string
- func (c Config) Getp2pBlacklistDir() string
- func (c Config) Getp2pConfigDir() string
- func (c Config) Getp2pWhitelistDir() string
- func (c Config) SetconfigDir(dir string)
- func (c Config) SetkaraiAPIPort(port int)
- func (c Config) Setlport(port int)
- func (c Config) SettableName(name string)
- func (c Config) SetwantsClean(wants_clean bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AppName string `json:"app_name"` AppDev string `json:"app_dev"` AppLicense string `json:"app_license"` AppRepository string `json:"app_repository"` AppURL string `json:"app_url"` ConfigDir string `json:"config_dir"` P2pConfigDir string `json:"p2p_config_dir"` P2pWhitelistDir string `json:"p2p_whitelist_dir"` P2pBlacklistDir string `json:"p2p_blacklist_dir"` CertPathDir string `json:"cert_path_dir"` CertPathSelfDir string `json:"cert_path_self_dir"` CertPathRemote string `json:"cert_path_remote"` PubKeyFilePath string `json:"pubkey_filepath"` PrivKeyFilePath string `json:"privkey_filepath"` SignedKeyFilePath string `json:"signedkey_filepath"` SelfCertFilePath string `json:"self_cert_filepath"` PeeridPath string `json:"peerid_path"` ChannelName string `json:"channel_name"` ChannelDesc string `json:"channel_desc"` ChannelCont string `json:"channel_cont"` NodeKey string `json:"node_key"` DbUser string `json:"db_user"` DbPassword string `json:"db_password"` DbName string `json:"db_name"` DbPort string `json:"db_port"` DbSSL string `json:"db_SSL"` KaraiAPIPort int `json:"karai_api_port"` TableName string `json:"table_name"` Lport int `json:"listen_port"` WantsClean bool `json:"wants_clean"` }
func Config_Init ¶
func Config_Init() Config
func (Config) GetAppName ¶
func (Config) GetConfigDir ¶
func (Config) GetListenPort ¶
func (Config) GetTableName ¶
func (Config) GetWantsClean ¶
func (Config) GetcertPathDir ¶
func (Config) GetcertPathRemote ¶
func (Config) GetcertPathSelfDir ¶
func (Config) Getp2pBlacklistDir ¶
func (Config) Getp2pConfigDir ¶
func (Config) Getp2pWhitelistDir ¶
func (Config) SetconfigDir ¶
func (Config) SetkaraiAPIPort ¶
func (Config) SettableName ¶
func (Config) SetwantsClean ¶
Click to show internal directories.
Click to hide internal directories.