Versions in this module Expand all Collapse all v1 v1.2.0 Sep 10, 2024 v1.1.0 Sep 7, 2024 Changes in this version + func GenerateCertificate(clientAuth bool, certOut, privOut io.Writer) ([]byte, []byte, error) + type MainFunc func() + type MainSupervisor struct + func NewMainSupervisor(t *testing.T, main MainFunc) *MainSupervisor + func (m *MainSupervisor) Close() + func (m *MainSupervisor) Run(config map[string]string) (string, bool, error) + type SyncedUint struct + func NewSyncedUint() *SyncedUint + func NewSyncedUintFrom(val uint) *SyncedUint + func (s *SyncedUint) GetInc() uint + type TlsServerCounter struct + CertClientFilePath string + CertServerFilePath string + ClientKeyPair tls.Certificate + KeyClientFilePath string + KeyServerFilePath string + ServerKeyPair tls.Certificate + func NewStartedTlsServerCounter(httpMode bool) (*TlsServerCounter, error) + func (srv *TlsServerCounter) AddrPort() netip.AddrPort + func (srv *TlsServerCounter) AddrString() string + func (srv *TlsServerCounter) Backend() string + func (srv *TlsServerCounter) Mode() string + func (srv *TlsServerCounter) TcpAddr() *net.TCPAddr