Versions in this module Expand all Collapse all v0 v0.6.2 Dec 11, 2021 v0.6.1 Dec 11, 2021 Changes in this version + var DefaultMinimumExpiryAge = time.Minute + type Handshake func(net.Conn, codec.Encoder, codec.Decoder) (codec.Encoder, codec.Decoder, id.Signatory, error) + func ECIES(privKey *id.PrivKey) Handshake + func Filter(f func(id.Signatory) error, h Handshake) Handshake + func Insecure(self id.Signatory) Handshake + func Once(self id.Signatory, pool *OncePool, h Handshake) Handshake + type OncePool struct + func NewOncePool(opts OncePoolOptions) OncePool + type OncePoolOptions struct + MinimumExpiryAge time.Duration + func DefaultOncePoolOptions() OncePoolOptions + func (opts OncePoolOptions) WithMinimumExpiryAge(minExpiryAge time.Duration) OncePoolOptions