conf

package
v0.0.0-...-fd752eb Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface{}

Config interface

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Parser ...

func New

func New() *Parser

New Get new config parser

func (*Parser) Get

func (parser *Parser) Get(name string) Config

Get ...

func (*Parser) Load

func (parser *Parser) Load(cfgFile, cfgType string) error

Load config file

func (*Parser) Register

func (parser *Parser) Register(name string, config Config)

Register register configuration

Jump to

Keyboard shortcuts

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