Documentation ¶
Index ¶
- Variables
- type NutsStore
- func (n *NutsStore) Close()
- func (n *NutsStore) DataKeys(ctx context.Context) (ret []string, err error)
- func (n *NutsStore) FindPacketsByAddress(ctx context.Context, ip net.IP) (ret []string, err error)
- func (n *NutsStore) GetPackets(ctx context.Context, ids []string, q *store.FindQuery) (pkts []*models.Packet, err error)
- func (b *NutsStore) GetStats() (*store.Stats, error)
- func (n *NutsStore) IndexKeys(ctx context.Context) (ret []string, err error)
- func (n *NutsStore) IndexPackets(ctx context.Context, pkts []*models.Packet) (err error)
- func (n *NutsStore) StorePackets(ctx context.Context, pkts []*models.Packet) (err error)
- type NutsStoreOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NutsDefaultOptions = NutsStoreOptions{ TimeFormat: "2006:01:02", CurrentTime: time.Now, } )
Functions ¶
This section is empty.
Types ¶
type NutsStore ¶
type NutsStore struct {
// contains filtered or unexported fields
}
func New ¶
func New(o *NutsStoreOptions) (*NutsStore, error)
func (*NutsStore) FindPacketsByAddress ¶
func (*NutsStore) GetPackets ¶
func (*NutsStore) IndexPackets ¶
type NutsStoreOptions ¶
Click to show internal directories.
Click to hide internal directories.