examples

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicDelayedInterceptor

func BasicDelayedInterceptor(frontend pg.SendOnlyFrontend, backend pg.SendOnlyBackend, msg *pgproto3.Query) error

BasicDelayedInterceptor calls a goroutine and tells the proxy it will take care of sending the message to the frontend.

func BasicInterceptor

func BasicInterceptor(frontend pg.SendOnlyFrontend, backend pg.SendOnlyBackend, msg *pgproto3.Query) error

BasicInterceptor just echoes back the query to the backend. Since it returns nil, the proxy will handle sending the message to the frontend.

Types

This section is empty.

Jump to

Keyboard shortcuts

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