# Packages
No description provided by the author
# Functions
AfterStart run funcs after app starts.
AfterStop run funcs after app stops.
No description provided by the author
No description provided by the author
No description provided by the author
BeforeStart run funcs before app starts.
DefaultOptions .
FromGinContext returns the gin.Context value stored in ctx, if any.
Handle convert HandlerFunc to gin.HandlerFunc.
NewGinContext returns a new Context that carries gin.Context value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithAddr .
WithMaxPingCount .
WithMode .
WithPort .
WrapContext returns a context wrapped by this file.
# Constants
AcceptLanguageHeaderName represents the header name of accept language.
ClientTimezoneOffsetHeaderName represents the header name of client timezone offset.
CodeErr means a failure response.
CodeOK means a successful response.
# Variables
ErrNoResponse 是一个 sentinel 错误。 也就是说,你可以通过返回这个 ErrNoResponse 来告诉 ginx 不需要继续写响应。 大多数情况下,这意味着你已经写回了响应。.
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
HandlerFunc defines the handler to wrap gin.Context.
Option is config option.
ProxyHandlerFunc represents the reverse proxy handler function.