Documentation ¶
Index ¶
- type Conn
- func (c *Conn) Close() error
- func (c *Conn) LocalAddr() net.Addr
- func (c *Conn) Read(b []byte) (n int, err error)
- func (c *Conn) RemoteAddr() net.Addr
- func (c *Conn) SetDeadline(t time.Time) error
- func (c *Conn) SetReadDeadline(t time.Time) error
- func (c *Conn) SetWriteDeadline(t time.Time) error
- func (c *Conn) Write(b []byte) (n int, err error)
- type Metrics
- type Option
- type OptionSetter
- type OptionSetterFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) RemoteAddr ¶
type OptionSetter ¶
type OptionSetter interface {
// contains filtered or unexported methods
}
type OptionSetterFunc ¶
type OptionSetterFunc func(*Conn)
func WithMetrics ¶
func WithMetrics(m *Metrics) OptionSetterFunc
func WithOption ¶
func WithOption(o *Option) OptionSetterFunc
Click to show internal directories.
Click to hide internal directories.