server

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*postgresql.Server
	Store
}

Server represents a test server.

func NewServer

func NewServer() *Server

NewServer returns a test server instance.

func NewServerWithStore

func NewServerWithStore(store Store) *Server

NewServerWithStore returns a test server instance with the specified store.

func (*Server) Authenticate

func (server *Server) Authenticate(*postgresql.Conn, *message.Startup) (message.Response, error)

Authenticate authenticates the connection with the startup message.

type Store

Store should support only DMOExecutor methods.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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