cmd

package
v0.0.0-...-2502acc Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ServerAddress is the default address for the gRPC server, if no override is specified in the flags
	ServerAddress = "0.0.0.0:9090"
	// GatewayAddress is the default address for the gateway server, if no override is specified in the flags
	GatewayAddress = "0.0.0.0:8080"
	// InternalAddress is the default address for the internal http server, if no override is specified in the flags
	InternalAddress = "0.0.0.0:8081"
	// DatabaseAddress is the default address for the database, if no override is specified in the flags
	DBConnectionString = "host=localhost port=5432 user=postgres password=postgres sslmode=disable dbname=atlas_contacts_app"
	// SwaggerFile is the file location of the swagger file to serve
	SwaggerFile = "./pkg/pb/contacts.swagger.json"
	// ApplicationID associates a microservice with an application. The atlas
	// contacts application consists of only one service, so we identify both the
	// service and the application as "atlas-contacts-app"
	ApplicationID = "atlas-contacts-app"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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