config

package
v0.0.0-...-4e1abb7 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvFlagLocalName                      = "IS_LOCAL"
	EnvRedisDSNName                       = "REDIS_DSN"
	EnvPostgresFormatDSNName              = "POSTGRES_FORMAT_DSN"
	EnvDbMigrationPathName                = "DB_MIGRATION_PATH"
	EnvSqlite3FileName                    = "SQLITE3_FILE"
	EnvJaegertracingAgentEndpointName     = "JAEGERTRACING_AGENT_ENDPOINT"
	EnvJaegertracingCollectorEndpointName = "JAEGER_ENDPOINT"
	EnvApiKeyName                         = "API_KEY_NAME"
	EnvApiKeyValueFullAccess              = "API_KEY_VALUE_FULL_ACCESS"

	Sqlite3FileDefault       = "./data/server.db"
	JaegertracingServiceName = "api-server"

	SwaggerInfoTitle          = "Swagger API Server"
	SwaggerInfoDescription    = "" /* 178-byte string literal not displayed */
	SwaggerInfoTermsOfService = "http://swagger.io/terms/"
	SwaggerInfoContactName    = "Alex"
	SwaggerInfoContactEmail   = "alex@milyutin.work"
	SwaggerInfoLicenseName    = "Apache 2.0"
	SwaggerInfoLicenseURL     = "http://www.apache.org/licenses/LICENSE-2.0.html"
)

Variables

This section is empty.

Functions

func ApiKeyName

func ApiKeyName() string

func ApiKeyValueFullAccess

func ApiKeyValueFullAccess() string

func DbMigrationPath

func DbMigrationPath() string

func JaegertracingAgentEndpoint

func JaegertracingAgentEndpoint() string

func JaegertracingCollectorEndpoint

func JaegertracingCollectorEndpoint() string

func PostgresFormatDSN

func PostgresFormatDSN() string

func RedisDSN

func RedisDSN() string

func Sqlite3File

func Sqlite3File() string

func SwaggerInfo

func SwaggerInfo() *echoswagger.Info

Types

This section is empty.

Jump to

Keyboard shortcuts

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