config

package
v0.0.0-...-ef65ee7 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBService

type DBService struct {
	Client *mongo.Client
	DBName string
}

func NewDBService

func NewDBService(envGetter *EnvVarGetter) (*DBService, error)

type EnvVarGetter

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

func NewEnvVarGetter

func NewEnvVarGetter() *EnvVarGetter

func (*EnvVarGetter) Get

func (e *EnvVarGetter) Get(key string) (string, error)

Jump to

Keyboard shortcuts

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