config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Init inits config

Types

type Config

type Config struct {
	Iface          string
	Port           uint
	LogMetaHeaders string
	LoggerLevel    string
	ColorOutput    bool
	JSONOutput     bool
	ProtoPaths     string
	ProtoFiles     []string
}

Config represents config model

func GetConfig

func GetConfig() *Config

GetConfig returns config

func (*Config) GetLogMetaHeaders

func (config *Config) GetLogMetaHeaders() map[string]struct{}

GetLogMetaHeaders ...

Jump to

Keyboard shortcuts

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