Documentation
¶
Index ¶
- Variables
- func CopyFile(src, dst string) error
- func ExtractSectionBytes(rdr io.Reader, targetSection string) ([]byte, error)
- func GetOSInfo() string
- func GetStopTime() (ts int64)
- func GunzipBytes(path string) ([]byte, error)
- func OpenRulesFile(filePath string) (io.Reader, func(), error)
- func ParseRules(rdr io.Reader, opts ...ReaderOptT) (*parser.RulesT, error)
- func ParseRulesPath(path string, opts ...ReaderOptT) (*parser.RulesT, error)
- func Sha256Sum(data []byte) string
- func UrlBase(fullUrl string) (string, error)
- func WithGenIds() func(*readerOptsT)
- func WithMultiDoc() func(*readerOptsT)
- type ReaderOptT
- type RulePathT
- type RuleTypeT
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ExtractSectionBytes ¶ added in v0.1.18
func GetStopTime ¶ added in v0.1.10
func GetStopTime() (ts int64)
func GunzipBytes ¶
func ParseRules ¶
func ParseRulesPath ¶
func ParseRulesPath(path string, opts ...ReaderOptT) (*parser.RulesT, error)
func WithGenIds ¶ added in v0.1.18
func WithGenIds() func(*readerOptsT)
func WithMultiDoc ¶ added in v0.1.18
func WithMultiDoc() func(*readerOptsT)
Types ¶
type ReaderOptT ¶ added in v0.1.18
type ReaderOptT func(*readerOptsT)
Click to show internal directories.
Click to hide internal directories.