models

package
v0.0.0-...-34adcc7 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultConfigPath is path used when config path is not provided
	DefaultConfigPath = "./app-config.json"
)
View Source
const (
	// HdrRequestID is request header used for tracing requests
	HdrRequestID = "Request-Tracing-ID"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Hostname        string `json:"Hostname"`
	Port            int    `json:"Port"`
	ServiceName     string `json:"ServiceName"`
	ServiceProvider string `json:"ServiceProvider"`
	ServiceVersion  string `json:"ServiceVersion"`
	URLPrefix       string `json:"URLPrefix"`
}

AppConfig is the overall config that file that our application will use

Jump to

Keyboard shortcuts

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