Registry / database / jackc-pgproto3-v2

jackc-pgproto3-v2

JSON →
library2.3.3gogounverified

Package pgproto3 is an encoder and decoder of the PostgreSQL wire protocol version 3.

go get github.com/jackc/pgproto3/v2
INSTALL
IMPORT
SIG · JACKC-PGPROTO3-V2
J
jackc-pgproto3-v2
databasegov2.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pgproto3
github.com/jackc/pgproto3/v2

Encode a PostgreSQL protocol message

package main import ( "fmt" "github.com/jackc/pgproto3/v2" ) func main() { msg := &pgproto3.ReadyForQuery{TxStatus: 'I'} data, err := msg.Encode() if err != nil { fmt.Println(err) return } fmt.Printf("Encoded: %x\n", data) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
jackc-pgproto3-v2 — go get jackc-pgproto3-v2 · libregistry