Documentation ¶
Overview ¶
Package frontend is responsible for handling connections to a postgres database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalPreamble = []pgproto3.BackendMessage{}
View Source
var GlobalPreambleLock = &sync.RWMutex{}
Functions ¶
Types ¶
type AttachChannels ¶
type FConn ¶
type FConn struct { In chan<- pgproto3.FrontendMessage // contains filtered or unexported fields }
func (*FConn) AttachBackend ¶
func (c *FConn) AttachBackend(terminator func()) AttachChannels
func (*FConn) BackendTerminated ¶
func (c *FConn) BackendTerminated()
func (*FConn) ClearApplicationName ¶
func (c *FConn) ClearApplicationName()
func (*FConn) DetachBackend ¶
func (c *FConn) DetachBackend()
func (*FConn) ReqPreamble ¶
func (c *FConn) ReqPreamble()
func (*FConn) SetApplicationName ¶
Directories ¶
Path | Synopsis |
---|---|
Package preambler contains an actor whose job is to send the Postgres preamble to each client on demand as clients connect to this particular Postgres frontend
|
Package preambler contains an actor whose job is to send the Postgres preamble to each client on demand as clients connect to this particular Postgres frontend |
Package receiver contains an actor that receives messages from Postgres and (usually) forwards those messages to the backend manager.
|
Package receiver contains an actor that receives messages from Postgres and (usually) forwards those messages to the backend manager. |
Package sender receives messages from the backend manager and forwards them directly to Postgres
|
Package sender receives messages from the backend manager and forwards them directly to Postgres |
Click to show internal directories.
Click to hide internal directories.