Documentation ¶
Index ¶
- func Dial(destination *net.UDPAddr, name string, _ *identity.TokenId, ...) (transport.Connection, error)
- func Listen(bindAddress *net.UDPAddr, name string, i *identity.TokenId, ...) (io.Closer, error)
- type AddressParser
- type Connection
- func (self *Connection) ClearReadTimeout() error
- func (self *Connection) ClearWriteTimeout() error
- func (self *Connection) Close() error
- func (self *Connection) Conn() net.Conn
- func (self *Connection) Detail() *transport.ConnectionDetail
- func (self *Connection) PeerCertificates() []*x509.Certificate
- func (self *Connection) Reader() io.Reader
- func (self *Connection) SetReadTimeout(t time.Duration) error
- func (self *Connection) SetWriteTimeout(t time.Duration) error
- func (self *Connection) Writer() io.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddressParser ¶
type AddressParser struct{}
type Connection ¶ added in v0.15.83
type Connection struct {
// contains filtered or unexported fields
}
func (*Connection) ClearReadTimeout ¶ added in v0.15.83
func (self *Connection) ClearReadTimeout() error
func (*Connection) ClearWriteTimeout ¶ added in v0.15.83
func (self *Connection) ClearWriteTimeout() error
func (*Connection) Close ¶ added in v0.15.83
func (self *Connection) Close() error
func (*Connection) Conn ¶ added in v0.15.83
func (self *Connection) Conn() net.Conn
func (*Connection) Detail ¶ added in v0.15.83
func (self *Connection) Detail() *transport.ConnectionDetail
func (*Connection) PeerCertificates ¶ added in v0.15.83
func (self *Connection) PeerCertificates() []*x509.Certificate
func (*Connection) Reader ¶ added in v0.15.83
func (self *Connection) Reader() io.Reader
func (*Connection) SetReadTimeout ¶ added in v0.15.83
func (self *Connection) SetReadTimeout(t time.Duration) error
func (*Connection) SetWriteTimeout ¶ added in v0.15.83
func (self *Connection) SetWriteTimeout(t time.Duration) error
func (*Connection) Writer ¶ added in v0.15.83
func (self *Connection) Writer() io.Writer
Click to show internal directories.
Click to hide internal directories.