Documentation ¶
Index ¶
Constants ¶
View Source
const (
VERSION = "0.0.1"
)
changelog: 0.0.1
Variables ¶
View Source
var RedisConnPool *redis.Pool
Functions ¶
func InitRedisConnPool ¶
func InitRedisConnPool()
func ParseConfig ¶
Types ¶
type DomainConfig ¶
type DomainListResult ¶
type DomainListResult struct {
Domains []DomainResult `json:"domains"`
}
type DomainResult ¶
type GlobalConfig ¶
type GlobalConfig struct { LogLevel string `json:"log_level"` Interval int `json:"interval"` LoginEmail string `json:"login_email"` LoginPassword string `json:"login_pwd"` GetIpApi string `json:"get_ip_api"` ExecuteCommand string `json:"execute_command"` Domains []DomainConfig `json:"domains"` Redis RedisConfig `json:"redis"` }
func Config ¶
func Config() *GlobalConfig
type RecordListResult ¶
type RecordListResult struct { Domain DomainResult `json:"domain"` Records []RecordResult `json:"records"` }
type RecordResult ¶
type RedisConfig ¶
type ServletResponse ¶
Click to show internal directories.
Click to hide internal directories.