settings_fetcher

package
v1.3.16 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

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

func NewSettingsFetcher

func NewSettingsFetcher(config SettingsFetcherConfig) *Fetcher

func (*Fetcher) Start

func (f *Fetcher) Start()

func (*Fetcher) Stop

func (f *Fetcher) Stop()

type SettingsFetcherConfig

type SettingsFetcherConfig struct {
	Service string
	Logger  logger.Logger

	Sock    string
	Schema  string
	Host    string
	Timeout time.Duration

	Notifier []func(*settings_models.Settings)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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