Documentation
¶
Index ¶
- Variables
- type IniParser
- func (this *IniParser) GetFloat32(section string, key string) float32
- func (this *IniParser) GetFloat64(section string, key string) float64
- func (this *IniParser) GetInt32(section string, key string) int32
- func (this *IniParser) GetInt64(section string, key string) int64
- func (this *IniParser) GetString(section string, key string) string
- func (this *IniParser) GetUint32(section string, key string) uint32
- func (this *IniParser) GetUint64(section string, key string) uint64
- func (this *IniParser) Load(configFileName string) error
- type IniParserError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Postgresql数据库服务器配置 PgIp string PgPort string PgUser string PgPwd string PgDataBase string // 数据库备份的位置 PgBackupFilePath string //云备份华为云的信息 ObsAk string ObsSk string ObsEndpoint string ObsBucketName string ObsPrefix string //要发布到的主机信息 DistributeIp string DistributePort int32 DistributeUser string DistributePwd string DistributeRemotePath string DistributeLocalPath string //服务器的端口 ServerPort string //验证码的有效时间 CaptchaExpireTime int32 //REDIS配置 RedisIp string RedisPort string RedisDb string RedisExpireTime int64 //Minio配置 MinIoEndpoint string MinIoAccessKeyID string MinIoSecretAccessKey string MinIoBucketName string //运行时配置 StartPathWindows string StartPathLinux string )
Functions ¶
This section is empty.
Types ¶
type IniParser ¶
type IniParser struct {
// contains filtered or unexported fields
}
func (*IniParser) GetFloat32 ¶
func (*IniParser) GetFloat64 ¶
type IniParserError ¶
type IniParserError struct {
// contains filtered or unexported fields
}
func (*IniParserError) Error ¶
func (e *IniParserError) Error() string
Click to show internal directories.
Click to hide internal directories.