factory

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigFile

type ConfigFile struct {
	DelegateBot ConfigFileDelegateBot `yaml:"delegatebot"`
}

type ConfigFileDelegateBot

type ConfigFileDelegateBot struct {
	Watch    []interface{}                    `yaml:"watch"`
	Delegate interface{}                      `yaml:"delegate"`
	Options  ConfigFileDelegateBotWithOptions `yaml:"options"`
}

type ConfigFileDelegateBotWithOptions

type ConfigFileDelegateBotWithOptions struct {
	EmptyMessage string `yaml:"empty_message"`
}

type FileLoader

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

func NewFileLoader

func NewFileLoader(delegatorsFactory delegates.Factory, conditionsFactory conditions.Factory) *FileLoader

func (FileLoader) Load

func (l FileLoader) Load(paths []string) (handler.Handler, error)

Jump to

Keyboard shortcuts

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