Documentation ¶
Index ¶
Constants ¶
View Source
const (
VERSION = "0.0.1"
)
Variables ¶
View Source
var (
ConfigFile string
)
Functions ¶
func ParseConfig ¶
func ParseConfig(cfg string)
Types ¶
type GlobalConfig ¶
type GlobalConfig struct { Debug bool `json:"debug"` Http *HttpConfig `json:"http"` Redis *RedisConfig `json:"redis"` Queue *QueueConfig `json:"queue"` Worker *WorkerConfig `json:"worker"` Api *ApiConfig `json:"api"` }
func Config ¶
func Config() *GlobalConfig
type HttpConfig ¶
type QueueConfig ¶
type RedisConfig ¶
Click to show internal directories.
Click to hide internal directories.