config

package
v0.0.0-...-726b5b8 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: BSD-3-Clause Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct{}

func NewConfig

func NewConfig() (*Config, error)

func (*Config) GetInt

func (c *Config) GetInt(domain string, key string, dft ...int) (ret int, exist bool)

func (*Config) GetLong

func (c *Config) GetLong(domain string, key string, dft ...int64) (ret int64, exist bool)

func (*Config) GetString

func (c *Config) GetString(domain string, key string, dft ...string) (value string, exist bool)

func (*Config) GetUlong

func (c *Config) GetUlong(domain string, key string, dft ...uint64) (ret uint64, exist bool)

Jump to

Keyboard shortcuts

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