Documentation
¶
Index ¶
- Constants
- type Cache
- type Context
- type Filter
- type Hash
- type Heap
- func (h *Heap) AddFilter(pattern string, b, a int)
- func (h *Heap) Bytes() []byte
- func (h *Heap) Cache() Cache
- func (h *Heap) Count() int
- func (h *Heap) DelFilter()
- func (h *Heap) Ensure() *Heap
- func (h *Heap) FMap() *smap.SMap
- func (h *Heap) Filters() []*Filter
- func (h *Heap) HasContext() bool
- func (h *Heap) HashSum(algo string) ([]byte, error)
- func (h *Heap) LastCount() (int, int)
- func (h *Heap) LastFilter() *Filter
- func (h *Heap) Len() int64
- func (h *Heap) MMap() *mmap.MMap
- func (h *Heap) Md5() ([]byte, error)
- func (h *Heap) ModContext(delta int) bool
- func (h *Heap) Patterns() []string
- func (h *Heap) Reload()
- func (h *Heap) SMap() *smap.SMap
- func (h *Heap) Sdhash() ([]byte, error)
- func (h *Heap) Sha1() ([]byte, error)
- func (h *Heap) Sha3() ([]byte, error)
- func (h *Heap) Sha256() ([]byte, error)
- func (h *Heap) Ssdeep() ([]byte, error)
- func (h *Heap) String() string
- func (h *Heap) Strings(n int) <-chan String
- func (h *Heap) ThrowAway()
- func (h *Heap) Tlsh() ([]byte, error)
- type SDHash
- type String
Constants ¶
View Source
const ( MD5 = "md5" SHA1 = "sha1" SHA256 = "sha256" SHA3 = "sha3" SHA3224 = "sha3-224" SHA3256 = "sha3-256" SHA3384 = "sha3-384" SHA3512 = "sha3-512" SDHASH = "sdhash" SSDEEP = "ssdeep" TLSH = "tlsh" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Heap ¶
type Heap struct {
sync.RWMutex
Title string // heap title
Path string // file path
Base string // base path
Type types.Heap // heap type
// contains filtered or unexported fields
}
func (*Heap) HasContext ¶
func (*Heap) LastFilter ¶
func (*Heap) ModContext ¶
Click to show internal directories.
Click to hide internal directories.