# Packages

No description provided by the author

# Functions

MiddlewareHandler handle middleware error.
NewHTTPAddressFromContext returns the configured address to listen to from cli flags configuration.
NewHTTPCliFlags creates new cli flags for HTTP Server.
ResponseFailure sets response code and error to the given one in parameter.
RunHTTPTestCase run http request test case.
Sign sign a http request with selected header and return a signed requestUse with http client only.
TimeRangeQueryFreqWithValidFreqs configures the validation to use custom valid frequencies instead of the default one.
TimeRangeQueryWithDefaultTimeFrame sets the given duration as the default time frame when doing validation.
TimeRangeQueryWithMaxTimeFrame sets the given duration as the max time frame when doing validation.

# Constants

AppName is the port number for Integration Address to AppName API.
GatewayPort is the port number of API gateway service.
IPLocatorPort is port number of IpLocator service.
PortFlag string for flag port.
PriceAnalytic is the port number of Price Analytics API.
ReserveRatesPort is the port number of Reserve Rates API.
TradeLogsPort is the port number of TradeLogs service.
UsersPort is the port number of Users service.

# Structs

HTTPTestCase struct for http test case.
TimeRangeQuery is the common time range query parameters of reporting HTTP APIs.
TimeRangeQueryFreq is the same as TimeRangeQuery with additional freq parameter.

# Type aliases

HTTPPort define custom type for port.
TimeRangeQueryFreqValidationOption is the option to configure validation behaviour.
TimeRangeQueryValidationOption is the option to configure validation behaviour.