configservice

package
v0.3.0-alpha13 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 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() StaticServ

Jump to

Keyboard shortcuts

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