Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( YoReplacer = strings.NewReplacer("ё", "е") StressRemover = strings.NewReplacer("\u0301", "") DefaultClient = http.Client{ Jar: jar, Transport: &http.Transport{ Proxy: http.ProxyFromEnvironment, DialContext: (&net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, DualStack: true, }).DialContext, IdleConnTimeout: 1 * time.Hour, }, } )
View Source
var Cache cache
Functions ¶
func Register ¶
func Register(name string, f http.HandlerFunc)
func RegisterMTPlugin ¶ added in v1.0.19
func RegisterMTPlugin(name string, f http.HandlerFunc)
Types ¶
type HTTPStatus ¶
func (HTTPStatus) Error ¶
func (s HTTPStatus) Error() string
Click to show internal directories.
Click to hide internal directories.