Documentation ¶
Overview ¶
Copyright (c) technicianted. All rights reserved. Licensed under the MIT License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerWrapper ¶
type ServerWrapper struct { Server *server.Server Options server.ServerOptions TLSCertPath string TLSKeyPath string }
func CreateNewServer ¶
func CreateNewServer(t *testing.T) *ServerWrapper
func CreateNewTLSServer ¶
func CreateNewTLSServer(ca *tlsutils.SelfSignedCA, validUntil time.Time, t *testing.T) *ServerWrapper
func (*ServerWrapper) DialContext ¶
func (s *ServerWrapper) DialContext(ctx context.Context, network, address string, logger logging.TraceLogger, opts ...types.DialOption) (net.Conn, error)
func (*ServerWrapper) Start ¶
func (s *ServerWrapper) Start(t *testing.T, logger logging.TraceLogger)
func (*ServerWrapper) Stop ¶
func (s *ServerWrapper) Stop(t *testing.T, logger logging.TraceLogger)
Click to show internal directories.
Click to hide internal directories.