type github.com/jackc/pgconn.PgConn
58 uses
github.com/jackc/pgconn (current package)
auth_scram.go#L33: func (c *PgConn) scramAuth(serverAuthMechanisms []string) error {
auth_scram.go#L76: func (c *PgConn) rxSASLContinue() (*pgproto3.AuthenticationSASLContinue, error) {
auth_scram.go#L89: func (c *PgConn) rxSASLFinal() (*pgproto3.AuthenticationSASLFinal, error) {
config.go#L26: type AfterConnectFunc func(ctx context.Context, pgconn *PgConn) error
config.go#L27: type ValidateConnectFunc func(ctx context.Context, pgconn *PgConn) error
config.go#L706: func ValidateConnectTargetSessionAttrsReadWrite(ctx context.Context, pgConn *PgConn) error {
pgconn.go#L57: type NoticeHandler func(*PgConn, *Notice)
pgconn.go#L63: type NotificationHandler func(*PgConn, *Notification)
pgconn.go#L71: type PgConn struct {
pgconn.go#L101: func Connect(ctx context.Context, connString string) (*PgConn, error) {
pgconn.go#L117: func ConnectConfig(ctx context.Context, config *Config) (pgConn *PgConn, err error) {
pgconn.go#L210: func connect(ctx context.Context, config *Config, fallbackConfig *FallbackConfig) (*PgConn, error) {
pgconn.go#L211: pgConn := new(PgConn)
pgconn.go#L328: func (pgConn *PgConn) startTLS(tlsConfig *tls.Config) (err error) {
pgconn.go#L348: func (pgConn *PgConn) txPasswordMessage(password string) (err error) {
pgconn.go#L360: func (pgConn *PgConn) signalMessage() chan struct{} {
pgconn.go#L383: func (pgConn *PgConn) SendBytes(ctx context.Context, buf []byte) error {
pgconn.go#L415: func (pgConn *PgConn) ReceiveMessage(ctx context.Context) (pgproto3.BackendMessage, error) {
pgconn.go#L439: func (pgConn *PgConn) peekMessage() (pgproto3.BackendMessage, error) {
pgconn.go#L475: func (pgConn *PgConn) receiveMessage() (pgproto3.BackendMessage, error) {
pgconn.go#L513: func (pgConn *PgConn) Conn() net.Conn {
pgconn.go#L518: func (pgConn *PgConn) PID() uint32 {
pgconn.go#L530: func (pgConn *PgConn) TxStatus() byte {
pgconn.go#L535: func (pgConn *PgConn) SecretKey() uint32 {
pgconn.go#L542: func (pgConn *PgConn) Close(ctx context.Context) error {
pgconn.go#L576: func (pgConn *PgConn) asyncClose() {
pgconn.go#L608: func (pgConn *PgConn) CleanupDone() chan (struct{}) {
pgconn.go#L615: func (pgConn *PgConn) IsClosed() bool {
pgconn.go#L620: func (pgConn *PgConn) IsBusy() bool {
pgconn.go#L625: func (pgConn *PgConn) lock() error {
pgconn.go#L638: func (pgConn *PgConn) unlock() {
pgconn.go#L650: func (pgConn *PgConn) ParameterStatus(key string) string {
pgconn.go#L739: func (pgConn *PgConn) Prepare(ctx context.Context, name, sql string, paramOIDs []uint32) (*StatementDescription, error) {
pgconn.go#L829: func (pgConn *PgConn) CancelRequest(ctx context.Context) error {
pgconn.go#L869: func (pgConn *PgConn) WaitForNotification(ctx context.Context) error {
pgconn.go#L904: func (pgConn *PgConn) Exec(ctx context.Context, sql string) *MultiResultReader {
pgconn.go#L950: func (pgConn *PgConn) ReceiveResults(ctx context.Context) *MultiResultReader {
pgconn.go#L997: func (pgConn *PgConn) ExecParams(ctx context.Context, sql string, paramValues [][]byte, paramOIDs []uint32, paramFormats []int16, resultFormats []int16) *ResultReader {
pgconn.go#L1024: func (pgConn *PgConn) ExecPrepared(ctx context.Context, stmtName string, paramValues [][]byte, paramFormats []int16, resultFormats []int16) *ResultReader {
pgconn.go#L1038: func (pgConn *PgConn) execExtendedPrefix(ctx context.Context, paramValues [][]byte) *ResultReader {
pgconn.go#L1073: func (pgConn *PgConn) execExtendedSuffix(buf []byte, result *ResultReader) {
pgconn.go#L1092: func (pgConn *PgConn) CopyTo(ctx context.Context, w io.Writer, sql string) (CommandTag, error) {
pgconn.go#L1152: func (pgConn *PgConn) CopyFrom(ctx context.Context, r io.Reader, sql string) (CommandTag, error) {
pgconn.go#L1293: pgConn *PgConn
pgconn.go#L1390: pgConn *PgConn
pgconn.go#L1586: func (pgConn *PgConn) ExecBatch(ctx context.Context, batch *Batch) *MultiResultReader {
pgconn.go#L1635: func (pgConn *PgConn) EscapeString(s string) (string, error) {
pgconn.go#L1667: func (pgConn *PgConn) Hijack() (*HijackedConn, error) {
pgconn.go#L1689: func Construct(hc *HijackedConn) (*PgConn, error) {
pgconn.go#L1690: pgConn := &PgConn{
github.com/jackc/pgconn/stmtcache
lru.go#L16: conn *pgconn.PgConn
lru.go#L27: func NewLRU(conn *pgconn.PgConn, mode int, cap int) *LRU {
stmtcache.go#L41: func New(conn *pgconn.PgConn, mode int, cap int) Cache {
github.com/jackc/pgx/v4
conn.go#L56: type BuildStatementCacheFunc func(conn *pgconn.PgConn) stmtcache.Cache
conn.go#L61: pgConn *pgconn.PgConn
conn.go#L161: buildStatementCache = func(conn *pgconn.PgConn) stmtcache.Cache {
conn.go#L303: func (c *Conn) bufferNotifications(_ *pgconn.PgConn, n *pgconn.Notification) {
conn.go#L394: func (c *Conn) PgConn() *pgconn.PgConn { return c.pgConn }
 |
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. |