Documentation
¶
Index ¶
- Variables
- func ListScheme() []string
- func Register(scheme string, fun SchemeFunc)
- type AnyProxy
- type BytesPool
- type Dialer
- type Host
- type Logger
- type SchemeFunc
- type ServeConn
- func NewHttpServeConn(s *http.Server) ServeConn
- func NewServeConn(ctx context.Context, sch, address string, users []*url.Userinfo, dial Dialer, ...) (ServeConn, []string, error)
- func NewServeConnWithAllScheme(ctx context.Context, address string, users []*url.Userinfo, dial Dialer, ...) (ServeConn, []string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNetClosing = errors.New("use of closed network connection")
Functions ¶
func ListScheme ¶
func ListScheme() []string
func Register ¶ added in v0.4.0
func Register(scheme string, fun SchemeFunc)
Types ¶
type AnyProxy ¶
type AnyProxy struct {
// contains filtered or unexported fields
}
func NewAnyProxy ¶
func (*AnyProxy) ListenAndServe ¶
type BytesPool ¶ added in v0.2.0
BytesPool is an interface for getting and returning temporary bytes for use by io.CopyBuffer.
type Host ¶ added in v0.3.0
type Host struct {
// contains filtered or unexported fields
}
func (*Host) ListenAndServe ¶ added in v0.3.0
type SchemeFunc ¶ added in v0.4.0
type ServeConn ¶ added in v0.4.0
func NewHttpServeConn ¶ added in v0.4.1
func NewServeConn ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.