You've already forked caddy-opnsense-blocker
Adopt Tabulator for the requests log
This commit is contained in:
@@ -114,6 +114,10 @@ func (s *Service) ListEvents(ctx context.Context, since time.Time, limit int, op
|
||||
return items, nil
|
||||
}
|
||||
|
||||
func (s *Service) CountEvents(ctx context.Context, since time.Time, options model.EventListOptions) (int64, error) {
|
||||
return s.store.CountEvents(ctx, since, options)
|
||||
}
|
||||
|
||||
func (s *Service) ListSourceNames() []string {
|
||||
if s == nil || s.cfg == nil || len(s.cfg.Sources) == 0 {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user