configuration

package
v0.0.0-...-dc12a1b Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const StageDev = "dev"
View Source
const StateProd = "prod"

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

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

func NewConfiguration

func NewConfiguration() Configuration

func (Configuration) Address

func (conf Configuration) Address() string

func (Configuration) Log

func (conf Configuration) Log() *logrus.Logger

func (Configuration) Name

func (conf Configuration) Name() string

func (Configuration) Repository

func (conf Configuration) Repository() *repository.Repository

func (Configuration) Stage

func (conf Configuration) Stage() string

func (Configuration) WithGroup

func (conf Configuration) WithGroup(value interface{}) *logrus.Entry

WithGroup create the logger with the given group

Jump to

Keyboard shortcuts

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