Config

package
v0.0.0-...-eedd94a Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(confName string) bool

func ReadKey

func ReadKey(path string, key string) string

Types

type INIConfig

type INIConfig struct {
	Mymap map[string]string
	// contains filtered or unexported fields
}

func (*INIConfig) InitConfig

func (c *INIConfig) InitConfig(path string)

func (INIConfig) Read

func (c INIConfig) Read(node, key string) string

Jump to

Keyboard shortcuts

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