Versions in this module Expand all Collapse all v1 v1.7.7 Jul 20, 2021 v1.7.6 Jul 20, 2021 Changes in this version + type DataInterface interface + DataKeys func(context.Context) ([]string, error) + GetPackets func(context.Context, []string, *FindQuery) ([]*models.Packet, error) + GetStats func() (*Stats, error) + StorePackets func(context.Context, []*models.Packet) error + type FindQuery struct + From time.Time + MaxCount int + To time.Time + func QueryFromRequest(r *http.Request) (*FindQuery, error) + type IndexInterface interface + FindPacketsByAddress func(context.Context, net.IP) ([]string, error) + GetStats func() (*Stats, error) + IndexKeys func(context.Context) ([]string, error) + IndexPackets func(context.Context, []*models.Packet) error + type Stats map[string]string + type StoreInterface interface