Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { // Service is VEAP service provider for processing the requests. veap.Service // URLPrefix must be set, if the VEAP tree starts not at root. URLPrefix string // RequestSizeLimit is the maximum size of a valid request. If not set, the // limit is 1 MB. RequestSizeLimit int64 // HistorySizeLimit is the maximum number of entries in a history. If not // set, the limit is 10000 entries. HistorySizeLimit int64 // Statistics collects statistics about the requests and responses. Stats HandlerStats }
Handler transforms HTTP requests to VEAP service requests.
Click to show internal directories.
Click to hide internal directories.