Documentation ¶
Index ¶
- Variables
- func Listen(derpURL string, key derpnet.Key) (net.Listener, error)
- type Connection
- func (s *Connection) Close() error
- func (*Connection) CloseRead() error
- func (s *Connection) CloseWrite() error
- func (s *Connection) LocalAddr() net.Addr
- func (s *Connection) Read(b []byte) (n int, err error)
- func (s *Connection) RemoteAddr() net.Addr
- func (s *Connection) SetDeadline(t time.Time) error
- func (s *Connection) SetReadDeadline(t time.Time) error
- func (s *Connection) SetWriteDeadline(t time.Time) error
- func (s *Connection) Write(b []byte) (n int, err error)
- type Dialer
- type Listener
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = false
Functions ¶
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
Connection implements net.Conn.
func (*Connection) CloseRead ¶
func (*Connection) CloseRead() error
func (*Connection) CloseWrite ¶
func (s *Connection) CloseWrite() error
func (*Connection) LocalAddr ¶
func (s *Connection) LocalAddr() net.Addr
LocalAddr implements net.Conn.
func (*Connection) Read ¶
func (s *Connection) Read(b []byte) (n int, err error)
Read implements net.Conn.
func (*Connection) RemoteAddr ¶
func (s *Connection) RemoteAddr() net.Addr
RemoteAddr implements net.Conn.
func (*Connection) SetDeadline ¶
func (s *Connection) SetDeadline(t time.Time) error
SetDeadline implements net.Conn.
func (*Connection) SetReadDeadline ¶
func (s *Connection) SetReadDeadline(t time.Time) error
SetReadDeadline implements net.Conn.
func (*Connection) SetWriteDeadline ¶
func (s *Connection) SetWriteDeadline(t time.Time) error
SetWriteDeadline implements net.Conn.
type Dialer ¶
type Dialer struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.