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
Click to show internal directories.
Click to hide internal directories.