Source File
pgproto3.go
Belonging Package
github.com/jackc/pgproto3/v2
package pgproto3
import
Encode(dst []byte) []byte
}
type FrontendMessage interface {
Message
Frontend() // no-op method to distinguish frontend from backend methods
}
type BackendMessage interface {
Message
Backend() // no-op method to distinguish frontend from backend methods
}
type invalidMessageLenErr struct {
messageType string
expectedLen int
actualLen int
}
func ( *invalidMessageLenErr) () string {
return fmt.Sprintf("%s body must have length of %d, but it is %d", .messageType, .expectedLen, .actualLen)
}
type invalidMessageFormatErr struct {
messageType string
}
func ( *invalidMessageFormatErr) () string {
return fmt.Sprintf("%s body is invalid", .messageType)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |