Documentation ¶
Index ¶
- type LogService
- func (s *LogService) AddLog(user string, logs []model.Log) error
- func (s *LogService) CreateIndex() error
- func (s *LogService) RegisterFilter(f model.Filter) error
- func (s *LogService) Search(query, level string, from, to time.Time, size, skip int) (*model.Response, error)
- func (s *LogService) UnregisterFilter(id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogService ¶
func NewLogService ¶
func (*LogService) CreateIndex ¶
func (s *LogService) CreateIndex() error
func (*LogService) RegisterFilter ¶
func (s *LogService) RegisterFilter(f model.Filter) error
func (*LogService) UnregisterFilter ¶
func (s *LogService) UnregisterFilter(id string) error
Click to show internal directories.
Click to hide internal directories.