configutils

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONSUL    = "CONSUL"
	ZOOKEEPER = "ZOOKEEPER"
)

Variables

This section is empty.

Functions

func ReadConfig

func ReadConfig(ctx context.Context, filename string, conf any) error

func ReadFromAgent added in v1.0.5

func ReadFromAgent(ctx context.Context, cfg *Config, conf any) error

Types

type Config added in v1.0.1

type Config struct {
	Name      string
	Consul    consul.Config
	Zookeeper zookeeper.Config
}

Directories

Path Synopsis
example command
example command

Jump to

Keyboard shortcuts

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