Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestSettings ¶
type RequestSettings struct {
// AllowUnknownFields will set the behavior for unknown fields in the Request body,
// resulting in a 400 Bad Request response if a field is present that cannot be
// mapped to the model struct.
AllowUnknownFields enums.AllowOrNot `default:"Disallow"`
// LogRequestBody will determine if the Request body will be logged
// If set to "disabled", the Request body will not be logged, which is also the default
LogRequestBody enums.EnableDisable `default:"Disabled"`
// RequestIdMode determines how the Request ID will be handled
RequestIdMode enums.RequestIdMode `default:"AcceptFromHeader"`
}
RequestSettings holds the Settings for the Request processing
type ServerSettings ¶
type ServerSettings struct {
// Host is the host the server will listen on
Host string `default:"0.0.0.0"`
// Addr is the address the server will listen on
Port int `default:"9999"`
}
ServerSettings holds the Settings for the application server
Click to show internal directories.
Click to hide internal directories.