command

package
v0.0.0-...-6edac6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryCount

type CategoryCount struct {
	Category string `json:"category"`
	Count    int    `json:"count"`
}

type EventExtractor

type EventExtractor struct {
	// contains filtered or unexported fields
}

func NewEventExtractor

func NewEventExtractor(s *sstore.SQLStore) (*EventExtractor, error)

func (*EventExtractor) Save

func (ee *EventExtractor) Save(evt *revent.Event) error

type EventReporter

type EventReporter struct {
	// contains filtered or unexported fields
}

func NewEventReporter

func NewEventReporter(dbs *pstore.SQLStore) (*EventReporter, error)

func (*EventReporter) Events

func (rpt *EventReporter) Events(params entity.QueryParams) ([]*entity.Event, error)

func (*EventReporter) EventsCount

func (rpt *EventReporter) EventsCount() (int, error)

func (*EventReporter) EventsWithAction

func (rpt *EventReporter) EventsWithAction(params entity.QueryParams) ([]*entity.Event, error)

func (*EventReporter) TopActionCatgories

func (rpt *EventReporter) TopActionCatgories(params entity.QueryParams) ([]*CategoryCount, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL