config

package
v1.0.40 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (config.Provider, error)

func NewWithPathAndEnviorment

func NewWithPathAndEnviorment(p string, env string) (config.Provider, error)

Types

type AWS

type AWS struct {
	Region string `yaml:"region"`
	KeyID  string `yaml:"key_id"`
	Secret string `yaml:"secret"`
	Bucket string `yaml:"bucket"`
}

type DB

type DB struct {
	Name     string `yaml:"name"`
	Host     string `yaml:"host"`
	Port     string `yaml:"port"`
	User     string `yaml:"user"`
	Password string `yaml:"pswd"`
	Params   string `yaml:"params"`
	Driver   string `yaml:"driver"`
}

func (DB) Path

func (db DB) Path() string

type DBs

type DBs []DB

Jump to

Keyboard shortcuts

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