server

package
v2.8.0-nightly.20231003 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServer

type APIServer struct {
	proxy.UnimplementedAPIServer
	// contains filtered or unexported fields
}

func NewAPIServer

func NewAPIServer(env Env) *APIServer

func (*APIServer) Listen

func (a *APIServer) Listen(request *proxy.ListenRequest, server proxy.API_ListenServer) (retErr error)

Listen streams database events. It signals that it is internally set up by sending an initial empty ListenResponse.

type Env

type Env struct {
	Listener collection.PostgresListener
}

Env is the set of dependencies required for APIServer

Jump to

Keyboard shortcuts

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