server

package
v2.9.4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 14 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 interface {
	transaction.APIServer
	txnenv.TransactionServer
}

APIServer represents an api server.

func NewAPIServer

func NewAPIServer(env Env) (APIServer, error)

NewAPIServer creates an APIServer.

type Env added in v2.8.0

type Env struct {
	DB         *pachsql.DB
	PGListener collection.PostgresListener
	TxnEnv     *transactionenv.TransactionEnv
}

Jump to

Keyboard shortcuts

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