region

package
v0.0.0-...-cbea63e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SubscribeChanges

func SubscribeChanges() <-chan bool

SubscribeChanges is a wrapper around DefaultInstance.SubscribeChanges

Types

type Regions

type Regions struct {
	tomb.Tomb
	// contains filtered or unexported fields
}

Regions represents a bunch of config settings

var DefaultInstance *Regions = New()

DefaultInstance is the default config instance

func New

func New() *Regions

func (*Regions) SubscribeChanges

func (r *Regions) SubscribeChanges() <-chan bool

SubscribeChanges will yield a channel which will then receive a boolean whenever the loaded configuration changes (depending on the exact loader used)

Jump to

Keyboard shortcuts

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