Documentation ¶
Index ¶
- Constants
- type AvcDurationExceededError
- type Conn
- func (c *Conn) AvCheckDuration(ctx context.Context, max float64) error
- func (c *Conn) AvUpdateDuration(ctx context.Context) error
- func (c *Conn) AvcCreateTable(ctx context.Context) error
- func (c *Conn) Connect(ctx context.Context) (err error)
- func (c *Conn) DSN() (dsn string)
- func (c *Conn) GetRows(ctx context.Context, query string, args ...interface{}) ([]map[string]interface{}, error)
- func (c *Conn) Host() string
- func (c *Conn) IsPrimary(ctx context.Context) (bool, error)
- func (c *Conn) IsStandby(ctx context.Context) (bool, error)
- func (c *Conn) Port() string
- type Dsn
Constants ¶
View Source
const ( AvcSchema = "public" AvcTable = "pgr66_avc" AvcColumn = "pgr66_avc" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvcDurationExceededError ¶ added in v0.8.5
type AvcDurationExceededError struct {
// contains filtered or unexported fields
}
func (AvcDurationExceededError) Error ¶ added in v0.8.5
func (der AvcDurationExceededError) Error() string
func (AvcDurationExceededError) String ¶ added in v0.8.5
func (der AvcDurationExceededError) String() string
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) AvCheckDuration ¶ added in v0.8.5
func (*Conn) AvUpdateDuration ¶ added in v0.8.5
func (*Conn) AvcCreateTable ¶ added in v0.8.5
Click to show internal directories.
Click to hide internal directories.