Versions in this module Expand all Collapse all v0 v0.1.2 Apr 20, 2024 Changes in this version + const DefaultKeepAliveDeadline + const DefaultKeepAliveInterval + const DefaultMaxMessageSize + const DefaultWriteTimeout + var DefaultAEADChipherTemplate = aead.XChaCha20Poly1305KeyTemplate + func PrepareBasicAuthHeader(user string) (string, error) + func PrepareClientCertificateAuth(certFile, keyFile, caFile string) (*tls.Config, error) + type Hub struct + ReadChan chan string + WriteChan chan string + func New(uri, keyPath string, tlsConfig *tls.Config, generateIfNotExists bool) (*Hub, error) + func (h *Hub) Close() error + func (h *Hub) Read() + func (h *Hub) Write()