Versions in this module Expand all Collapse all v1 v1.1.0 Mar 14, 2024 v1.0.0 Mar 14, 2024 Changes in this version + const DEFAULT_MINERS_PATH + const DEFAULT_NATIVEEXTRACOTR_PATH + const E_NO_ENCLOSED_OCCURRENCES + const E_SORT_RESULTS + const POINTER_SIZE + type BufferStream struct + Buffer []byte + Ptr *C.struct_stream_buffer_c + func NewBufferStream(buffer []byte) (*BufferStream, error) + func (ego *BufferStream) Check() bool + func (ego *BufferStream) Close() error + func (ego *BufferStream) GetStream() *C.struct_stream_c + type DlSymbol struct + Ldpath string + Ldptr unsafe.Pointer + Ldsymb string + Meta []string + Params string + type Extractor struct + func NewExtractor(batch int, threads int, flags uint32) *Extractor + func (ego *Extractor) AddMinerSo(sodir string, symbol string, params []byte) error + func (ego *Extractor) Destroy() error + func (ego *Extractor) Eof() bool + func (ego *Extractor) GetLastError() error + func (ego *Extractor) Meta() []DlSymbol + func (ego *Extractor) Next() (Occurrencer, error) + func (ego *Extractor) SetFlags(flags uint32) error + func (ego *Extractor) SetStream(stream Streamer) error + func (ego *Extractor) UnsetFlags(flags uint32) error + func (ego *Extractor) UnsetStream() + type FileStream struct + Path string + Ptr *C.struct_stream_file_c + func NewFileStream(path string) (*FileStream, error) + func (ego *FileStream) Check() bool + func (ego *FileStream) Close() error + func (ego *FileStream) GetStream() *C.struct_stream_c + type Occurrence struct + func (ego *Occurrence) Eof() bool + func (ego *Occurrence) Label() string + func (ego *Occurrence) Len() uint32 + func (ego *Occurrence) Next() + func (ego *Occurrence) Pos() uint64 + func (ego *Occurrence) Prob() float64 + func (ego *Occurrence) Str() string + func (ego *Occurrence) Ulen() uint32 + func (ego *Occurrence) Upos() uint64 + type Occurrencer interface + Eof func() bool + Label func() string + Len func() uint32 + Next func() + Pos func() uint64 + Prob func() float64 + Str func() string + Ulen func() uint32 + Upos func() uint64 + type Streamer interface + Check func() bool + GetStream func() *C.struct_stream_c