conf

package
v3.15.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2018 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FunctionMap map[string]*FunConfig
)

Functions

func Config

func Config() map[string]*FunConfig

func GetAvaibleFun

func GetAvaibleFun() []string

func ReadConf

func ReadConf()

func Reload

func Reload()

Types

type FunConfig

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

func GetFunc(key string) *FunConfig

type Gconfig

type Gconfig struct {
	Funcations []FunConfig
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL