decompressor

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(filepath string) (out chan []byte)

Load reads a file line by line and returns a channel of net.IP

func Store

func Store(filePath string, ipChan chan net.IP)

Types

type Decompressor

type Decompressor struct {
}

func (Decompressor) Expand

func (p Decompressor) Expand(ipRangeChan chan model.IPRange) chan net.IP

func (Decompressor) Load

func (p Decompressor) Load(filePath string) chan []byte

func (Decompressor) Store

func (p Decompressor) Store(filePath string, ipChan chan net.IP)

func (Decompressor) Unserialize

func (p Decompressor) Unserialize(dataChan chan []byte) chan model.IPRange

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL