latest

package
v0.0.0-...-0d6e96b Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Version string = "v1"

Variables

This section is empty.

Functions

func NewConfig

func NewConfig() vconf.ConfigInterface

Types

type Config

type Config struct {
	Version string       `json:"version"`
	Fields  ConfigFields `json:"fields"`
}

func (*Config) GetVersion

func (c *Config) GetVersion() string

func (*Config) Parse

func (c *Config) Parse(data []byte) error

func (*Config) Upgrade

func (c *Config) Upgrade() (vconf.ConfigInterface, error)

type ConfigFields

type ConfigFields struct {
	A string
	B string
	C string
}

Jump to

Keyboard shortcuts

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