Documentation ¶
Index ¶
- type CensysEntry
- type FileImporter
- func (imp *FileImporter) ByteOffset() uint64
- func (imp *FileImporter) Close() error
- func (imp *FileImporter) NextEntry() (*CensysEntry, error)
- func (imp *FileImporter) SeekByte(byteOffset uint64) error
- func (imp *FileImporter) SeekLine(lineOffset uint64) error
- func (imp *FileImporter) Size() (uint64, error)
- func (imp *FileImporter) String() string
- type HttpImporter
- func (imp *HttpImporter) ByteOffset() uint64
- func (imp *HttpImporter) NextEntry() (*CensysEntry, error)
- func (imp *HttpImporter) SeekByte(byteOffset uint64) error
- func (imp *HttpImporter) SeekLine(lineOffset uint64) error
- func (imp *HttpImporter) Size() (uint64, error)
- func (imp *HttpImporter) String() string
- type Importer
- type ImporterByteCounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CensysEntry ¶
type FileImporter ¶
type FileImporter struct {
// contains filtered or unexported fields
}
func OpenFile ¶
func OpenFile(path string) (*FileImporter, error)
func OpenFileHandle ¶
func OpenFileHandle(fileHandle *os.File) (*FileImporter, error)
func (*FileImporter) ByteOffset ¶
func (imp *FileImporter) ByteOffset() uint64
func (*FileImporter) Close ¶
func (imp *FileImporter) Close() error
func (*FileImporter) NextEntry ¶
func (imp *FileImporter) NextEntry() (*CensysEntry, error)
func (*FileImporter) SeekByte ¶
func (imp *FileImporter) SeekByte(byteOffset uint64) error
func (*FileImporter) SeekLine ¶
func (imp *FileImporter) SeekLine(lineOffset uint64) error
func (*FileImporter) Size ¶
func (imp *FileImporter) Size() (uint64, error)
func (*FileImporter) String ¶
func (imp *FileImporter) String() string
type HttpImporter ¶
type HttpImporter struct {
// contains filtered or unexported fields
}
func OpenURL ¶
func OpenURL(url string) (*HttpImporter, error)
func (*HttpImporter) ByteOffset ¶
func (imp *HttpImporter) ByteOffset() uint64
func (*HttpImporter) NextEntry ¶
func (imp *HttpImporter) NextEntry() (*CensysEntry, error)
func (*HttpImporter) SeekByte ¶
func (imp *HttpImporter) SeekByte(byteOffset uint64) error
func (*HttpImporter) SeekLine ¶
func (imp *HttpImporter) SeekLine(lineOffset uint64) error
func (*HttpImporter) Size ¶
func (imp *HttpImporter) Size() (uint64, error)
func (*HttpImporter) String ¶
func (imp *HttpImporter) String() string
type ImporterByteCounter ¶
type ImporterByteCounter struct {
CurrentOffset uint64
}
Click to show internal directories.
Click to hide internal directories.