Versions in this module Expand all Collapse all v0 v0.1.0 Jun 3, 2022 Changes in this version + const DefaultDeadline + const DefaultPort + const DefaultReadBufferSize + const TokenLength + type Conn struct + func Dial(addr string, token []byte) (Conn, error) + func (c *Conn) Close() error + func (c *Conn) LocalAddr() net.Addr + func (c *Conn) Read(b []byte) (int, error) + func (c *Conn) RemoteAddr() net.Addr + func (c *Conn) SetDeadline(t time.Time) error + func (c *Conn) SetReadBufferSize(size int) + func (c *Conn) SetReadDeadline(t time.Time) error + func (c *Conn) SetToken(token string) + func (c *Conn) SetWriteDeadline(t time.Time) error + func (c *Conn) Token() string + func (c *Conn) Write(b []byte) (int, error)