Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitEntry ¶
type Database ¶
type Database interface {
Insert(CommitEntry)
Connect() error
}
type Mysql ¶
type Mysql struct {
Dsn string
// contains filtered or unexported fields
}
implements interface database
func (*Mysql) Insert ¶
func (d *Mysql) Insert(c CommitEntry)
type Postgres ¶
type Postgres struct {
Dsn string
// contains filtered or unexported fields
}
implements interface database
func (*Postgres) Insert ¶
func (d *Postgres) Insert(c CommitEntry)
type Sqlite ¶
type Sqlite struct {
SqLiteDB string
// contains filtered or unexported fields
}
func (*Sqlite) BatchInsert ¶
func (d *Sqlite) BatchInsert(c CommitEntry)
func (*Sqlite) Insert ¶
func (d *Sqlite) Insert(c CommitEntry)
Click to show internal directories.
Click to hide internal directories.