conf

package
v0.0.0-...-17f93bc Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpoonConfig

type SpoonConfig struct {
	BasePath string             `json:"base_path"`
	Agents   []SpoonConfigAgent `json:"agents"`
	Sink     SpoonConfigSink    `json:"sink"`
}

SpoonConfig is the definition of the json config structure

func GenerateExampleConfig

func GenerateExampleConfig() *SpoonConfig

type SpoonConfigAgent

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

SpoonConfigAgent is a sub structure of SpoonConfig

func (*SpoonConfigAgent) MarshalJSON

func (s *SpoonConfigAgent) MarshalJSON() ([]byte, error)

type SpoonConfigSink

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

SpoonConfigSink is a sub structure of SpoonConfig

func (*SpoonConfigSink) MarshalJSON

func (s *SpoonConfigSink) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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