Documentation
¶
Index ¶
- Constants
- type Addr
- type Conn
- func (c *Conn) Close() error
- func (c *Conn) LocalAddr() net.Addr
- func (c *Conn) Read(d []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(d []byte) (n int, err error)
- type Listener
- type Session
- func (s *Session) Accept() (net.Conn, error)
- func (s *Session) Addr() net.Addr
- func (s *Session) Close() error
- func (s *Session) Dial(_, a string) (net.Conn, error)
- func (s *Session) LocalName() string
- func (s *Session) Lookup(name, port string) (addr net.Addr, err error)
- func (s *Session) Open() error
- func (s *Session) ReadFrom(d []byte) (n int, from net.Addr, err error)
- func (s *Session) WriteTo(d []byte, to net.Addr) (n int, err error)
Constants ¶
View Source
const DefaultDNSAddr = "127.3.2.1:53"
View Source
const DefaultHostname = "localhost.loki"
View Source
const DefaultPort = "6888"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) SetReadDeadline ¶
implements net.Conn
func (*Conn) SetWriteDeadline ¶
implements net.Conn
Click to show internal directories.
Click to hide internal directories.