composition

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Code generated by <git repo>. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var Instance *composition

Functions

func BaseContext

func BaseContext(p0 net.Listener) context.Context

func CheckRedirect

func CheckRedirect(req *http.Request, via []*http.Request) error

func Close

func Close() error

func CloseIdleConnections

func CloseIdleConnections()

func ConnContext

func ConnContext(ctx context.Context, c net.Conn) context.Context

func ConnState

func ConnState(p0 net.Conn, p1 http.ConnState)

func Cookies

func Cookies() []*http.Cookie

func Decrypt

func Decrypt(rand io.Reader, msg []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error)

func Do

func Do(req *http.Request) (*http.Response, error)

func Flag

func Flag(c int) bool

func Get

func Get(url string) (resp *http.Response, err error)
func Head(url string) (resp *http.Response, err error)

func ListenAndServe

func ListenAndServe() error

func ListenAndServeTLS

func ListenAndServeTLS(certFile, keyFile string) error

func Location

func Location() (*url.URL, error)

func Post

func Post(url, contentType string, body io.Reader) (resp *http.Response, err error)

func PostForm

func PostForm(url string, data url.Values) (resp *http.Response, err error)

func Precision

func Precision() (prec int, ok bool)

func ProtoAtLeast

func ProtoAtLeast(major, minor int) bool

func Public

func Public() crypto.PublicKey

func RegisterOnShutdown

func RegisterOnShutdown(f func())

func Serve

func Serve(l net.Listener) error

func ServeTLS

func ServeTLS(l net.Listener, certFile, keyFile string) error

func SetKeepAlivesEnabled

func SetKeepAlivesEnabled(v bool)

func Shutdown

func Shutdown(ctx context.Context) error

func Signal

func Signal()

func String

func String() string

func Width

func Width() (wid int, ok bool)

func Write

func Write(b []byte) (n int, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL