config

package
v0.1.46 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfgManager

type CfgManager interface {
	GetValue(ctx context.Context, key string) (string, error)
	GetValueOfDomainService(ctx context.Context, domain string, service string, key string) (string, error)
}

func NewConfigManager

func NewConfigManager() (CfgManager, error)

type ConfigManager

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

func (ConfigManager) GetValue

func (cfg ConfigManager) GetValue(ctx context.Context, key string) (string, error)

func (ConfigManager) GetValueOfDomainService

func (cfg ConfigManager) GetValueOfDomainService(ctx context.Context, domain string, service string, key string) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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