cfg

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exist

func Exist(file string) bool

func SaveConfig

func SaveConfig(file string, c Config) error

Saves chains to config

func SaveCurrentConfig

func SaveCurrentConfig(file string) error

Types

type Config

type Config struct {
	Bees    []bees.BeeConfig
	Actions []bees.Action
	Chains  []bees.Chain
}

Config contains an entire configuration set for Beehive

func LoadConfig

func LoadConfig(file string) (Config, error)

Loads chains from config

Jump to

Keyboard shortcuts

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