config

package
v0.0.0-...-2734c1c Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_CONFIG_DIR = "/config"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	NewConfig()
}

type MongoConfig

type MongoConfig models.MongoSpec

func (*MongoConfig) LoadConfigFromBinding

func (mc *MongoConfig) LoadConfigFromBinding(t string) error

func (*MongoConfig) LoadConfigFromEnv

func (mc *MongoConfig) LoadConfigFromEnv()

func (*MongoConfig) LoadConfigFromFile

func (mc *MongoConfig) LoadConfigFromFile() error

func (*MongoConfig) NewConfig

func (mc *MongoConfig) NewConfig()

type MongoConfigDir

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

func GetConfigDir

func GetConfigDir() *MongoConfigDir

Jump to

Keyboard shortcuts

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