 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
ErrNoStorageConfigured error no storage has been configured
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface {
	Start()
	StoreFlows(flows []*flow.Flow) error
	SearchFlows(fsq filters.SearchQuery) (*flow.FlowSet, error)
	SearchMetrics(fsq filters.SearchQuery, metricFilter *filters.Filter) (map[string][]common.Metric, error)
	SearchRawPackets(fsq filters.SearchQuery, packetFilter *filters.Filter) (map[string]*flow.RawPackets, error)
	Stop()
}
    Storage interface a flow storage mechanism
func NewStorage ¶
NewStorage creates a new flow storage based on the backend
       Source Files
      ¶
      Source Files
      ¶
    
- storage.go
 Click to show internal directories. 
   Click to hide internal directories.