Versions in this module Expand all Collapse all v3 v3.13.1 Sep 21, 2022 Changes in this version + var DiscoverTime = 30 * time.Second + var ErrLinkConnectTimeout = errors.New("link connect timeout") + var KeepAliveTime = 30 * time.Second + var ReconnectTime = 5 * time.Second + func Decrypt(gcm cipher.AEAD, data []byte) ([]byte, error) + func Encrypt(gcm cipher.AEAD, data []byte) ([]byte, error) + func NewTunnel(opts ...tunnel.Option) *tun