config

package
v0.0.0-...-5e990d0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoardConf

type BoardConf []*PluginConfig

func NewBoardConf

func NewBoardConf(confPath string) (BoardConf, error)

func (*BoardConf) UnmarshalYAML

func (b *BoardConf) UnmarshalYAML(unmarshal func(interface{}) error) error

type Duration

type Duration time.Duration

func (*Duration) UnmarshalJSON

func (d *Duration) UnmarshalJSON(b []byte) error

func (*Duration) UnmarshalYAML

func (d *Duration) UnmarshalYAML(unmarshal func(interface{}) error) error

func (Duration) Value

func (d Duration) Value() time.Duration

type KeyIndex

type KeyIndex struct {
	Key   string
	Index int
}

func (*KeyIndex) UnmarshalYAML

func (ki *KeyIndex) UnmarshalYAML(unmarshal func(interface{}) error) error

type PluginConfig

type PluginConfig struct {
	Name   string  `yaml:"name"`
	Config RawYaml `yaml:"config"`
}

type RawYaml

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

func (*RawYaml) Decode

func (r *RawYaml) Decode(i interface{}) error

func (*RawYaml) UnmarshalYAML

func (r *RawYaml) UnmarshalYAML(unmarshal func(interface{}) error) error

func (r RawMessage) MarshalYAML() (interface{}, error) { }

Jump to

Keyboard shortcuts

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