Versions in this module Expand all Collapse all v0 v0.942.2 Nov 24, 2020 Changes in this version + func Bind(host *string, port *string) (net.Listener, error) + func Connect(host *string, port *string) (net.Conn, error) + func CreateCertificate(template *x509.Certificate) ([]byte, *rsa.PrivateKey, error) + func CreateMasterSlaveCertificateTemplate() *x509.Certificate + func CreateMasterTLSConfiguration() (*tls.Config, error) + func CreateSlaveTLSConfiguration() (*tls.Config, error) + func CreateSocketConnectionReaderWriter(connection net.Conn) (*bufio.Reader, *bufio.Writer) + func CreateTLSConfiguration(template *x509.Certificate) (*tls.Config, error) + func GetIPv6(rawIPv6Host []byte) string + func Receive(connectionReader *bufio.Reader, bufferSize int) (int, []byte, error) + func Send(connectionWriter *bufio.Writer, data *[]byte) (int, error) + func TLSConnect(host *string, port *string, configuration *tls.Config) (net.Conn, error) + func UpgradeClientToTLS(connection net.Conn, configuration *tls.Config) net.Conn + func UpgradeServerToTLS(connection net.Conn, configuration *tls.Config) net.Conn