Documentation ¶
Index ¶
- Constants
- func AuditTrail(dsn string, table string, recordset []db.AuditRecord) (int, error)
- func GetACL(dsn string, table string, withPIN bool) (*lib.Table, error)
- func GetEvents(dsn string, table string, controller uint32) ([]uint32, error)
- func Log(dsn string, table string, recordset []db.LogRecord) (int, error)
- func NewDB(dsn string) db.DB
- func PutACL(dsn string, table string, recordset lib.Table, withPIN bool) (int, error)
- func PutEvents(dsn string, table string, events []core.Event) (int, error)
Constants ¶
View Source
const LogTag = "postgres"
View Source
const MaxIdle = 2
View Source
const MaxLifetime = 5 * time.Minute
View Source
const MaxOpen = 5
Variables ¶
This section is empty.
Functions ¶
func AuditTrail ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.