config

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logging *logger.Config                    `json:"logging"`
	Plugins map[string]map[string]interface{} `json:"plugins"`
}

func NewConfig

func NewConfig(configPath string, log *zerolog.Logger) (*Config, error)

Loads the config from a file.

func NewEmptyConfig added in v0.8.2

func NewEmptyConfig() *Config

Jump to

Keyboard shortcuts

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