setup

package
v0.0.0-...-fa1d311 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(cfg config.Config) (err error)

func HoldExit

func HoldExit()

func LoadConfig

func LoadConfig(filePath string) (cfg config.Config, err error)

func NewConnection

func NewConnection(cfg config.Connection, manager *plugins.PluginManager) (res itf.EventConnection, err error)

func NewRunnerManager

func NewRunnerManager(cfg config.Runner) (res itf.RunnerManager, err error)

func SetupLogger

func SetupLogger(cfg config.Logger) (err error)

Types

type EnvConfig

type EnvConfig struct {
	ConfigPath string `env:"CONFIG_PATH" envDefault:"./config.yaml"`
}

func LoadEnvConfig

func LoadEnvConfig() (cfg EnvConfig, err error)

type Executor

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

Jump to

Keyboard shortcuts

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