MCPcopy
hub / github.com/jackc/pgx / Message

Interface Message

pgproto3/pgproto3.go:17–24  ·  pgproto3/pgproto3.go::Message

Message is the interface implemented by an object that can decode and encode a particular PostgreSQL message.

Source from the content-addressed store, hash-verified

15// Message is the interface implemented by an object that can decode and encode
16// a particular PostgreSQL message.
17type Message interface {
18 // Decode is allowed and expected to retain a reference to data after
19 // returning (unlike encoding.BinaryUnmarshaler).
20 Decode(data []byte) error
21
22 // Encode appends itself to dst and returns the new buffer.
23 Encode(dst []byte) ([]byte, error)
24}
25
26// FrontendMessage is a message sent by the frontend (i.e. the client).
27type FrontendMessage interface {

Callers 14

ReceiveMethod · 0.65
ReceiveStartupMessageMethod · 0.65
ReceiveMethod · 0.65
DecodeMethod · 0.65
configTLSFunction · 0.65
decodeHexByteaFunction · 0.65
SendMethod · 0.65
SendBindMethod · 0.65
SendParseMethod · 0.65
SendCloseMethod · 0.65
SendDescribeMethod · 0.65
SendExecuteMethod · 0.65

Implementers 15

CancelRequestpgproto3/cancel_request.go
Querypgproto3/query.go
ErrorResponsepgproto3/error_response.go
ParameterDescriptionpgproto3/parameter_description.go
Closepgproto3/close.go
StartupMessagepgproto3/startup_message.go
CopyOutResponsepgproto3/copy_out_response.go
ParseCompletepgproto3/parse_complete.go
RowDescriptionpgproto3/row_description.go
BindCompletepgproto3/bind_complete.go
DataRowpgproto3/data_row.go
NegotiateProtocolVersionpgproto3/negotiate_protocol_version.go

Calls

no outgoing calls

Tested by

no test coverage detected