Help us shape the future of Go! Take the 2026 Go Developer Survey

postgres

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 8 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() *Client

func (*Client) Close

func (d *Client) Close() error

func (*Client) Connect

func (d *Client) Connect() error

func (*Client) Engine

func (d *Client) Engine() *xorm.EngineGroup

func (*Client) Init

func (d *Client) Init(cfg *dbpool.Config, tables ...any) error

func (*Client) IsAlive

func (d *Client) IsAlive() bool

func (*Client) NewSession

func (d *Client) NewSession() *xorm.Session

func (*Client) Ping

func (d *Client) Ping() error

Jump to

Keyboard shortcuts

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