Documentation ¶
Index ¶
- Constants
- type DB
- func (db *DB) Close()
- func (db *DB) Migrate(migrations string) error
- func (db *DB) StatDocumentsCountGet(start, end int64) (uint64, error)
- func (db *DB) StatDocumentsCountIncrement(timestamp time.Time) error
- func (db *DB) StatPatientsCountGet(start, end int64) (uint64, error)
- func (db *DB) StatPatientsCountIncrement(timestamp time.Time) error
- func (db *DB) SyncLastBlockGet() (uint64, error)
- func (db *DB) SyncLastBlockSet(lastSyncedBlock uint64) error
Constants ¶
View Source
const ( TableNamePatients = "stat_patients" TableNameDocuments = "stat_documents" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
func (*DB) StatDocumentsCountGet ¶
func (*DB) StatDocumentsCountIncrement ¶
func (*DB) StatPatientsCountGet ¶
func (*DB) StatPatientsCountIncrement ¶
func (*DB) SyncLastBlockGet ¶
func (*DB) SyncLastBlockSet ¶
Click to show internal directories.
Click to hide internal directories.