config

package
v0.0.0-...-8c6f8b2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHmacSampleSecret

func GetHmacSampleSecret() []byte

Types

type DBConfig

type DBConfig struct {
	Host, Port, User, Password, Dbname string
}

func GetDBConfig

func GetDBConfig() *DBConfig

type Env

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

func New

func New() *Env

func (*Env) Db

func (env *Env) Db() string

func (*Env) Host

func (env *Env) Host() string

func (*Env) Password

func (env *Env) Password() string

func (*Env) Port

func (env *Env) Port() string

func (*Env) User

func (env *Env) User() string

Jump to

Keyboard shortcuts

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