server

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAuthenticatorTest added in v1.4.0

func RunAuthenticatorTest(t *testing.T, server *Server, testDBName string)

RunAuthenticatorTest tests the authenticators.

func RunServerCopyTest added in v1.4.0

func RunServerCopyTest(t *testing.T, server *Server, testDBName string)

RunServerCopyTest tests the COPY command.

func RunServerTests added in v1.3.0

func RunServerTests(t *testing.T, server *Server)

func RunTLSSessionTest added in v1.5.0

func RunTLSSessionTest(t *testing.T, server *Server, testDBName string)

RunTLSSessionTest tests the TLS session. PostgreSQL: Documentation: 16: 34.19. SSL Support https://www.postgresql.org/docs/current/libpq-ssl.html PostgreSQL: Documentation: 16: 19.9. Secure TCP/IP Connections with SSL https://www.postgresql.org/docs/current/ssl-tcp.html#SSL-CERTIFICATE-CREATION

Types

type Server

type Server struct {
	*server.Server
}

Server represents a test server.

func NewServer

func NewServer() *Server

NewServer returns a test server instance.

type ServerTestFunc added in v1.3.0

type ServerTestFunc = func(*testing.T, *Server, string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL