config

package
v0.0.0-...-2e69b25 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 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 Configuration

type Configuration struct {
	Log Log
}

Configuration struct have all fields from configuration TOML file

func Load

func Load(path string) (*Configuration, error)

Load loads configuration from path

type Log

type Log struct {
	Filename string
}

Log defines logging configuration (log filename)

Jump to

Keyboard shortcuts

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