zcfg

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCfgContent

func GetCfgContent(path string) (content []byte, err error)

func GetJSON

func GetJSON(name ...string) zjson.Res

func GetRemoteCfgContent

func GetRemoteCfgContent(url string) (content []byte, err error)

func JSONCfg added in v0.1.8

func JSONCfg(cfgPath string) (zjson.Res, error)

func SaveJSON

func SaveJSON(file, json string) (err error)

func SetJSON

func SetJSON(name string, value interface{}) (err error)

func UnmarshalJSON

func UnmarshalJSON(v interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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