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.
Click to show internal directories.
Click to hide internal directories.