Documentation
¶
Index ¶
- Constants
- func Dial(addr *address, name string, i *identity.TokenId, timeout time.Duration) (transport.Conn, error)
- func DialWithLocalBinding(addr *address, name, localBinding string, i *identity.TokenId, ...) (transport.Conn, error)
- func Listen(addr *address, name string, i *identity.TokenId, acceptF func(transport.Conn)) (io.Closer, error)
- type AddressParser
- type Connection
Constants ¶
View Source
const Type = "dtls"
Variables ¶
This section is empty.
Functions ¶
func DialWithLocalBinding ¶
Types ¶
type AddressParser ¶
type AddressParser struct{}
func (AddressParser) Parse ¶
func (ap AddressParser) Parse(s string) (transport.Address, error)
type Connection ¶
type Connection struct { *dtls.Conn // contains filtered or unexported fields }
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.