message

package
v0.0.0-...-167945a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2014 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend byte

message codes from http://www.postgresql.org/docs/9.2/static/protocol-message-formats.html

const (
	// Backend messages.  received from server
	NotificationResponse Backend = 'A'
	CommandComplete      Backend = 'C'
	DataRow              Backend = 'D'
	Error                Backend = 'E'
	KeyData              Backend = 'K'
	Authenticate         Backend = 'R'
	ParameterStatus      Backend = 'S'
	RowDescription       Backend = 'T'
	ParameterDescription Backend = 't'
	NoData               Backend = 'n'
	Notice               Backend = 'N'
	ReadyForQuery        Backend = 'Z'
	ParseComplete        Backend = '1'
	BindComplete         Backend = '2'
	CloseComplete        Backend = '3'
)

type Frontend

type Frontend byte
const (
	// Frontend messages.  sent to server
	Bind      Frontend = 'B'
	Close     Frontend = 'C'
	Describe  Frontend = 'D'
	Execute   Frontend = 'E'
	Parse     Frontend = 'P'
	Password  Frontend = 'p'
	Query     Frontend = 'Q'
	Sync      Frontend = 'S'
	Terminate Frontend = 'X'
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL