Documentation
¶
Index ¶
- type LogRepo
- func (repo *LogRepo) BatchInsert(batch []*_types.Log) error
- func (repo *LogRepo) GetByFilter(filter types.Filter) (_types.Logs, error)
- func (repo *LogRepo) Insert(log *_types.Log) error
- func (repo *LogRepo) StartBatcher()
- func (repo *LogRepo) StatsByDashboard(dashId int) ([]*types.DashStatRow, error)
- func (repo *LogRepo) StatsByDashboardCached(dashId int) ([]*types.DashStatRow, error)
- func (repo *LogRepo) StatsByLogname(dashId int, logname string) ([]*types.DashStatRow, error)
- func (repo *LogRepo) StatsByLognameCached(dashId int, logname string) ([]*types.DashStatRow, error)
- func (repo *LogRepo) StopBatcher()
- func (repo *LogRepo) Store(log *_types.Log) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogRepo ¶ added in v1.20.18
type LogRepo struct {
// contains filtered or unexported fields
}
func NewLogRepo ¶ added in v1.20.18
func NewLogRepo() *LogRepo
func (*LogRepo) BatchInsert ¶ added in v1.20.20
func (*LogRepo) GetByFilter ¶ added in v1.20.18
func (*LogRepo) StartBatcher ¶ added in v1.20.27
func (repo *LogRepo) StartBatcher()
func (*LogRepo) StatsByDashboard ¶ added in v1.20.18
func (repo *LogRepo) StatsByDashboard(dashId int) ([]*types.DashStatRow, error)
func (*LogRepo) StatsByDashboardCached ¶ added in v1.20.18
func (repo *LogRepo) StatsByDashboardCached(dashId int) ([]*types.DashStatRow, error)
func (*LogRepo) StatsByLogname ¶ added in v1.20.18
func (*LogRepo) StatsByLognameCached ¶ added in v1.20.18
func (*LogRepo) StopBatcher ¶ added in v1.20.20
func (repo *LogRepo) StopBatcher()
Click to show internal directories.
Click to hide internal directories.