Documentation ¶
Index ¶
- type Dao
- func (d *Dao) ArchiveMetas(c context.Context, id int64, limit int) ([]*model.ArchiveMeta, error)
- func (d *Dao) ArchiveMetasIncrs(c context.Context, aid int64, begin, end xtime.Time, limit int) ([]*model.ArchiveMeta, error)
- func (d *Dao) ArchiveStats(c context.Context, aids []int64) (map[int64]*model.ArchiveStat, error)
- func (d *Dao) ArchiveStatsIncrs(c context.Context, tbl int, id int64, begin, end xtime.Time, limit int) ([]*model.ArchiveStat, error)
- func (d *Dao) ArchiveTVs(c context.Context, aids []int64) (map[int64]*model.ArchiveTv, error)
- func (d *Dao) ArchiveTVsIncrs(c context.Context, id int64, begin, end xtime.Time, limit int) ([]*model.ArchiveTv, error)
- func (d *Dao) ArchiveTypes(c context.Context, ids []int64) (map[int64]*model.ArchiveType, error)
- func (d *Dao) Close()
- func (d *Dao) MaxOid(c context.Context) (oid int64, err error)
- func (d *Dao) Ping(c context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao dao
func (*Dao) ArchiveMetas ¶
ArchiveMetas .
func (*Dao) ArchiveMetasIncrs ¶
func (d *Dao) ArchiveMetasIncrs(c context.Context, aid int64, begin, end xtime.Time, limit int) ([]*model.ArchiveMeta, error)
ArchiveMetasIncrs .
func (*Dao) ArchiveStats ¶
ArchiveStats .
func (*Dao) ArchiveStatsIncrs ¶
func (d *Dao) ArchiveStatsIncrs(c context.Context, tbl int, id int64, begin, end xtime.Time, limit int) ([]*model.ArchiveStat, error)
ArchiveStatsIncrs .
func (*Dao) ArchiveTVs ¶
ArchiveTVs .
func (*Dao) ArchiveTVsIncrs ¶
func (d *Dao) ArchiveTVsIncrs(c context.Context, id int64, begin, end xtime.Time, limit int) ([]*model.ArchiveTv, error)
ArchiveTVsIncrs .
func (*Dao) ArchiveTypes ¶
ArchiveTypes .
Click to show internal directories.
Click to hide internal directories.