Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultBufferLength = 100 MaxBufferLength = 10000 SSEContentType = "text/event-stream" )
Variables ¶
This section is empty.
Functions ¶
func HTTPParamsToShellVars ¶ added in v1.16.0
HTTPParamsToShellVars convert URL values to shell vars.
Types ¶
type HandlerFunc ¶ added in v1.4.0
HandlerFunc custom function handler
type Route ¶ added in v1.4.0
type Route struct { Path string HandlerFunc HandlerFunc Middlewares middleware.Middlewares }
Route is the structure of an HTTP route definition
Click to show internal directories.
Click to hide internal directories.