cmd

package
v0.0.0-...-4496ad1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = ConfigStruct{
	DatabaseURI:          "",
	RunAddress:           "localhost:8080",
	AccrualSystemAddress: "",
	LogLevel:             "info",
	Salt:                 "some_salt",
}

Functions

func Execute

func Execute() error

Types

type ConfigStruct

type ConfigStruct struct {
	DatabaseURI          string `env:"DATABASE_URI"`
	RunAddress           string `env:"RUN_ADDRESS"`
	AccrualSystemAddress string `env:"ACCRUAL_SYSTEM_ADDRESS"`
	LogLevel             string `env:"LOG_LEVEL"`
	Salt                 string `env:"SALT"`
}

Jump to

Keyboard shortcuts

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