configutil

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConfig

func ReadConfig(filename string) (*configv2.Config, error)

func ReadConfigV1

func ReadConfigV1(filename string) (*config.Config, error)

func ReadConfigV2

func ReadConfigV2(filename string) (*configv2.Config, error)

func V1ToV2

func V1ToV2(in *config.Config) *configv2.Config

Types

type Reloader

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

func NewReloader

func NewReloader(conf *configv2.Config) (*Reloader, error)

func (*Reloader) Stop

func (r *Reloader) Stop()

Jump to

Keyboard shortcuts

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