config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAny

func GetAny(key string) interface{}

func GetBool

func GetBool(key string) bool

func GetInt

func GetInt(key string) int64

func GetString

func GetString(key string) string

func InitCofnig

func InitCofnig(key string, val interface{})

func SubscribeConfigChanged

func SubscribeConfigChanged(key string, handler ConfigChangedHandler)

Types

type ConfigChangedHandler

type ConfigChangedHandler func(key string, value interface{})

Jump to

Keyboard shortcuts

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