configservice

package
v0.3.2-alpha2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Serv

type Serv interface {
	Get(ctx context.Context) (*config.DynamicConfig, error)
	Update(context.Context, *config.DynamicConfig) error
}

func NewConfigServ

func NewConfigServ(repo repo2.Repo) Serv

type StaticServ

type StaticServ interface {
	Get() (*config.StaticConfig, error)
}

func NewStaticConfigServ

func NewStaticConfigServ(cfg config.StaticConfig) StaticServ

Jump to

Keyboard shortcuts

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