postgresql

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	User       string
	Pass       string
	TLSCert    string
	TLSKey     string
	CreateOpts CreateDatabaseOptions
}

type CreateDatabaseOptions added in v0.6.3

type CreateDatabaseOptions struct {
	Dir                string
	MemDB              bool
	FromLatestSnapshot bool
	DeliverPolicy      string
	MaxConns           int
	Opts               []ha.Option
}

type Server

type Server struct {
	*wire.Server
}

func NewServer

func NewServer(cfg Config) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(port int) error

func (*Server) Serve

func (s *Server) Serve(l net.Listener) error

Jump to

Keyboard shortcuts

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