server

package
v0.0.0-...-97394dd Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package server contains the top-level network listener.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Command runs the server.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is a pgwire-compatible proxy server.

func New

func New(ctx context.Context, cfg *config.Config) (_ *Server, cancel func(), _ error)

New constructs a proxy server.

Jump to

Keyboard shortcuts

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