open-falcon-backend: github.com/chyeh/open-falcon-backend/modules/query/conf Index | Files

package conf

import "github.com/chyeh/open-falcon-backend/modules/query/conf"

Index

Package Files

JsRead.go confRead.go

Variables

var (
    FunctionMap map[string]*FunConfig
)

func Config Uses

func Config() map[string]*FunConfig

func GetAvaibleFun Uses

func GetAvaibleFun() []string

func ReadConf Uses

func ReadConf()

func Reload Uses

func Reload()

type FunConfig Uses

type FunConfig struct {
    FuncationName string   `json:"funcation_name"`
    FilePath      string   `json:"file_path"`
    Params        []string `json:"params"`
    Description   string   `json:"description"`
    Codes         string   `json:"-"`
}

func GetFunc Uses

func GetFunc(key string) *FunConfig

type Gconfig Uses

type Gconfig struct {
    Funcations []FunConfig
}

Package conf imports 9 packages (graph). Updated 2017-03-20. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).