polarisb_config_go

package module
v1.0.0-pre-release Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

README

polarisb-config-go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(config *ConfigProvider, configFilePath string, configName string)

Types

type ConfigProvider

type ConfigProvider struct {
	PolarisbConfig *PolarisbConfig `json:"polarisbConfig"`
}

func AddPolarisbConfiguration

func AddPolarisbConfiguration(configFilePath string) *ConfigProvider

func (*ConfigProvider) GetValue

func (configProvider *ConfigProvider) GetValue(key string) (string, bool)

type PolarisbConfig

type PolarisbConfig struct {
	Interstellar string            `json:"interstellar"`
	Values       map[string]string `json:"values"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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