Versions in this module Expand all Collapse all v1 v1.0.1 Apr 5, 2022 Changes in this version + type Acceptor interface + Accept func() (Transport, error) + Close func() error + type Addr = net.Addr + type Buffers struct + Buffers net.Buffers + Indexes []int + type BuffersWriter interface + Writev func(buffs Buffers) (int64, error) + type Factory interface + Connect func(options *Options) (Transport, error) + Listen func(options *Options) (Acceptor, error) + Schemes func() Schemes + type Option func(options *Options) error + func WithContext(ctx context.Context) Option + type Options struct + Address *url.URL + Context context.Context + func ParseOptions(ctx context.Context, url string, options ...Option) (*Options, error) + func (lo *Options) AddressWithoutHost() string + func (lo *Options) Apply(options ...Option) error + type Schemes []string + func (ss Schemes) Add(scheme string) Schemes + func (ss Schemes) FixedURL(u *url.URL) error + func (ss Schemes) Valid(scheme string) bool + func (ss Schemes) ValidURL(address string) bool + type Transport interface + Flush func() error + RawTransport func() interface{} + func BufferedTransport(transport Transport, sizeRead int) Transport