Versions in this module Expand all Collapse all v0 v0.1.0 Jun 20, 2026 Changes in this version + func BackendTag() string + func LookupSuiteByName(name string) (uint16, bool) + type Certificate struct + Certificate *x509.Certificate + PrivateKey crypto.PrivateKey + RawCertificate []byte + type Config struct + Certificates []Certificate + CipherSuites []uint16 + GOSTIntermediates []*x509gost.Certificate + GOSTRoots []*x509gost.Certificate + InsecureSkipVerify bool + Rand io.Reader + RootCAPEMs [][]byte + RootCAs *x509.CertPool + ServerName string + VerifyPeerCertificate func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error + type Conn struct + func NewConn(c net.Conn, config *Config) *Conn + func (c *Conn) Close() error + func (c *Conn) Handshake() error + func (c *Conn) LocalAddr() net.Addr + func (c *Conn) Read(b []byte) (int, error) + func (c *Conn) RemoteAddr() net.Addr + func (c *Conn) SetDeadline(t time.Time) error + func (c *Conn) SetReadDeadline(t time.Time) error + func (c *Conn) SetWriteDeadline(t time.Time) error + func (c *Conn) Write(b []byte) (int, error) + type ConnectionState struct + CipherSuite uint16 + Suite *suites.Suite + Version uint16 + type Dialer struct + Config *Config + NetDialer *net.Dialer + func (d *Dialer) DialContext(ctx context.Context, network, addr string) (net.Conn, error) + type SuiteInfo struct + ID uint16 + Name string + func AllSuites() []SuiteInfo