config

package
v0.0.0-...-a36a0c4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2014 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf interface {
	String(key string) string
	Int64(key string) int64
	Float64(key string) float64
	Bool(key string) bool
	Float64Array(key string) []float64
}

func NewConf

func NewConf(file string) (Conf, error)

type TomlConf_achun

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

func (*TomlConf_achun) Bool

func (this *TomlConf_achun) Bool(key string) bool

func (*TomlConf_achun) Float64

func (this *TomlConf_achun) Float64(key string) float64

func (*TomlConf_achun) Float64Array

func (this *TomlConf_achun) Float64Array(key string) []float64

func (*TomlConf_achun) Int64

func (this *TomlConf_achun) Int64(key string) int64

func (*TomlConf_achun) String

func (this *TomlConf_achun) String(key string) string

Jump to

Keyboard shortcuts

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