config

package
v0.2.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WechatClient *wechat.Wechat

Functions

func GetWechatConfig

func GetWechatConfig(cf *Config) *wechat.Config

Types

type Config

type Config struct {
	*goconfig.ConfigFile
}

func NewConfig

func NewConfig(path string) (*Config, error)

func (*Config) GetBool

func (c *Config) GetBool(section, key string) bool

func (*Config) GetInt

func (c *Config) GetInt(section, key string) int

func (*Config) GetString

func (c *Config) GetString(section, key string) string

func (*Config) GetStrings

func (c *Config) GetStrings(section, key string) []string

Jump to

Keyboard shortcuts

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