Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServerPort = 2000 ServerWriteTimeout = 15 ServerReadTimeout = 15 GrpcServerPort = 6000 CorrelationIdHeaderName = "X-Internal-Correlation-ID" NoCorrelationId = "global" LoggerFileName = "default.log" LoggerLevel = "debug" DefaultContentType = "application/json" ConfigFileName = "config" SecretFileName = "secrets" ConfigFileExtension = "yaml" SecretFileExtension = "toml" )
Variables ¶
View Source
var (
ConfigFilePaths = [4]string{"./config", "$HOME/.imposters", ".", "$HOME/.creds"}
)
Functions ¶
func GenerateCorrelationId ¶
func GenerateCorrelationId() string
func IntToSeconds ¶
func JsonObjectToObject ¶
func ObjectToJsonObject ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.