config

package
v0.0.0-...-6f18cc8 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: BSD-3-Clause Imports: 3 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 {
	Server struct {
		Address string
		Port    string
	}
	Cache struct {
		Capacity    int
		StoragePath string
	}
	Query struct {
		Timeout int
	}
	Log struct {
		File       string
		Level      string
		MuteStdout bool
	}
}

func NewConfig

func NewConfig(configFile string) (Config, error)

func (*Config) SetDefault

func (c *Config) SetDefault()

Jump to

Keyboard shortcuts

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