pg

package
v0.0.0-...-8a46af4 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	MasterDbUrl string
	SlaveDbUrl  string
	// contains filtered or unexported fields
}

func (*Client) Exec

func (c *Client) Exec(sql string, args ...interface{}) (pgconn.CommandTag, error)

func (*Client) InitConnPools

func (c *Client) InitConnPools() error

func (*Client) Query

func (c *Client) Query(sql string, args ...interface{}) (pgx.Rows, error)

Jump to

Keyboard shortcuts

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