Documentation
¶
Overview ¶
Package postgres keeps protocol wire envelopes in Postgres: the server.ProtocolWireStore a protocol reads on session/load. The host owns the pool. The table is separate from the harness session checkpoints (package session/postgres), and the pool can be shared with them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WireStore ¶
type WireStore struct {
// contains filtered or unexported fields
}
WireStore implements server.ProtocolWireStore against Postgres. Call Setup once per database. Tracing is the pool's own (ConnConfig.Tracer).
func NewWireStore ¶
NewWireStore stores envelopes through pool. protocolKey labels rows (e.g. "acp"); empty defaults to "acp".
Click to show internal directories.
Click to hide internal directories.