Versions in this module Expand all Collapse all v0 v0.8.2 Apr 14, 2017 v0.8.1 Apr 6, 2017 v0.8.0 Mar 28, 2017 Changes in this version + const MAX_KEYS + const MapName + type PolicyEntry struct + Action uint32 + Bytes uint64 + Packets uint64 + Pad uint32 + func (pe *PolicyEntry) Add(oPe PolicyEntry) + func (pe *PolicyEntry) String() string + type PolicyEntryDump struct + ID uint32 + type PolicyMap struct + Fd int + func OpenMap(path string) (*PolicyMap, bool, error) + func (pm *PolicyMap) AllowConsumer(id uint32) error + func (pm *PolicyMap) ConsumerExists(id uint32) bool + func (pm *PolicyMap) DeepCopy() *PolicyMap + func (pm *PolicyMap) DeleteConsumer(id uint32) error + func (pm *PolicyMap) Dump() (string, error) + func (pm *PolicyMap) DumpToSlice() ([]PolicyEntryDump, error) + func (pm *PolicyMap) String() string