Versions in this module Expand all Collapse all v0 v0.2.17 Dec 28, 2019 v0.2.15 Dec 28, 2019 Changes in this version + const DefaultAddress + const MaxDatagramSize + var SolBlock = "solblock" + var Solution = []byte(SolBlock) + var Template = []byte(TplBlock) + var TplBlock = "tplblock" + func Decode(ciph cipher.AEAD, shards [][]byte) (bytes []byte, err error) + func Encode(ciph cipher.AEAD, bytes []byte, typ []byte) (shards [][]byte, err error) + func Listen(address string, handler func(*net.UDPAddr, int, []byte)) (cancel context.CancelFunc) + func New(address string) (addr *net.UDPAddr, err error) + func Send(addr *net.UDPAddr, bytes []byte, ciph cipher.AEAD, typ []byte) (err error)