Documentation ¶
Index ¶
Constants ¶
View Source
const (
COMMIT = "5c733f5"
)
View Source
const (
VERSION = "1.4.3"
)
Variables ¶
View Source
var (
ConfigFile string
)
Functions ¶
func ParseConfig ¶
func ParseConfig(cfg string)
Types ¶
type ApiConfig ¶
type ApiConfig struct { Name string `json:"name"` Token string `json:"token"` Contact string `json:"contact"` Event string `json:"event"` Map string `json:"map"` Geo string `json:"geo"` Uplink string `json:"uplink"` Query string `json:"query"` Dashboard string `json:"dashboard"` Max int `json:"max"` }
type GinHttpConfig ¶
type GlobalConfig ¶
type GlobalConfig struct { Debug bool `json:"debug"` Http *HttpConfig `json:"http"` Graph *GraphConfig `json:"graph"` Api *ApiConfig `json:"api"` Db *DbConfig `json:"db"` NqmLog *NqmLogConfig `json:nqmlog` Nqm *NqmConfig `json:"nqm"` Grpc *GrpcConfig `json:"grpc"` GinHttp *GinHttpConfig `json:"gin_http"` GraphDB *GraphDB `json:"graphdb"` }
type GraphConfig ¶
type GrpcConfig ¶
type HttpConfig ¶
type NqmLogConfig ¶
type NqmLogConfig struct {
JsonrpcUrl string `json:"jsonrpcUrl"`
}
Click to show internal directories.
Click to hide internal directories.