config

package
v0.0.0-...-3a66c49 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBoolItem

func GetBoolItem(obj *cjson.JSON, key string) bool

func GetString

func GetString(obj *cjson.JSON) (value string)

func GetStringArrayItem

func GetStringArrayItem(obj *cjson.JSON, key string) (value []string)

func GetStringItem

func GetStringItem(obj *cjson.JSON, key string, defval string) (value string)

Types

type Conf

type Conf struct {
	*cjson.JSON
	*types.Config
}

func GetConf

func GetConf(data []byte) (Conf, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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