Documentation ¶
Index ¶
- Constants
- func Dial(endpoint *net.UDPAddr, name string, id *identity.TokenId, ...) (transport.Conn, error)
- func DialWithLocalBinding(endpoint *net.UDPAddr, name, localBinding string, id *identity.TokenId, ...) (transport.Conn, error)
- func Listen(bind *net.UDPAddr, name string, id *identity.TokenId, ...) (io.Closer, error)
- type AddressParser
- type Connection
Constants ¶
View Source
const Type = "transwarptls"
Variables ¶
This section is empty.
Functions ¶
func DialWithLocalBinding ¶
Types ¶
type AddressParser ¶
type AddressParser struct{}
func (AddressParser) Parse ¶
func (self AddressParser) Parse(s string) (transport.Address, error)
type Connection ¶
func (*Connection) Detail ¶
func (self *Connection) Detail() *transport.ConnectionDetail
func (*Connection) PeerCertificates ¶
func (self *Connection) PeerCertificates() []*x509.Certificate
Click to show internal directories.
Click to hide internal directories.