Documentation ¶
Overview ¶
Code generated by <git repo>. DO NOT EDIT.
Index ¶
- Variables
- func BaseContext(p0 net.Listener) context.Context
- func CheckRedirect(req *http.Request, via []*http.Request) error
- func Close() error
- func CloseIdleConnections()
- func ConnContext(ctx context.Context, c net.Conn) context.Context
- func ConnState(p0 net.Conn, p1 http.ConnState)
- func Cookies() []*http.Cookie
- func Decrypt(rand io.Reader, msg []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error)
- func Do(req *http.Request) (*http.Response, error)
- func Flag(c int) bool
- func Get(url string) (resp *http.Response, err error)
- func Head(url string) (resp *http.Response, err error)
- func ListenAndServe() error
- func ListenAndServeTLS(certFile, keyFile string) error
- func Location() (*url.URL, error)
- func Post(url, contentType string, body io.Reader) (resp *http.Response, err error)
- func PostForm(url string, data url.Values) (resp *http.Response, err error)
- func Precision() (prec int, ok bool)
- func ProtoAtLeast(major, minor int) bool
- func Public() crypto.PublicKey
- func RegisterOnShutdown(f func())
- func Serve(l net.Listener) error
- func ServeTLS(l net.Listener, certFile, keyFile string) error
- func SetKeepAlivesEnabled(v bool)
- func Shutdown(ctx context.Context) error
- func Signal()
- func String() string
- func Width() (wid int, ok bool)
- func Write(b []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Instance *composition
Functions ¶
func CloseIdleConnections ¶
func CloseIdleConnections()
func ListenAndServe ¶
func ListenAndServe() error
func ListenAndServeTLS ¶
func ProtoAtLeast ¶
func RegisterOnShutdown ¶
func RegisterOnShutdown(f func())
func SetKeepAlivesEnabled ¶
func SetKeepAlivesEnabled(v bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.