Versions in this module Expand all Collapse all v1 v1.0.0 Jul 4, 2018 Changes in this version + func AddListener(src string, conn *ipv4.PacketConn) + func RemoveListener(src string) + type CertPair struct + ClientWriteKey []byte + Profile string + ServerWriteKey []byte + type State struct + func NewState(tlscfg *TLSCfg, isClient bool, src, dst string) (d *State, err error) + func (d *State) Close() + func (d *State) DoHandshake() + func (d *State) HandleDTLSPacket(packet []byte) (certPair *CertPair) + type TLSCfg struct + func NewTLSCfg() *TLSCfg + func (t *TLSCfg) Close() + func (t *TLSCfg) Fingerprint() string