collector

package
v0.0.0-...-e61482c Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseRules

func ParseRules(line string) (rules.Rule, error)

Types

type Acl4SSR

type Acl4SSR struct {
	// contains filtered or unexported fields
}

func NewAclSSr

func NewAclSSr() *Acl4SSR

func (*Acl4SSR) Download

func (p *Acl4SSR) Download(path string) ([]byte, error)

func (*Acl4SSR) NeedUpdate

func (p *Acl4SSR) NeedUpdate(info os.FileInfo) bool

func (*Acl4SSR) ParseBody

func (p *Acl4SSR) ParseBody(tag string, body []byte) (rules []rules.Rule)

type Blackmatrix7

type Blackmatrix7 struct {
	// contains filtered or unexported fields
}

func (*Blackmatrix7) Download

func (p *Blackmatrix7) Download(path string) ([]byte, error)

func (*Blackmatrix7) NeedUpdate

func (p *Blackmatrix7) NeedUpdate(info os.FileInfo) bool

func (*Blackmatrix7) ParseBody

func (p *Blackmatrix7) ParseBody(tag string, body []byte) (rules []rules.Rule)

type Cidr

type Cidr struct {
}

func NewCidr

func NewCidr() *Cidr

func (*Cidr) Download

func (p *Cidr) Download(path string) ([]byte, error)

func (*Cidr) NeedUpdate

func (p *Cidr) NeedUpdate(info os.FileInfo) bool

func (*Cidr) ParseBody

func (p *Cidr) ParseBody(tag string, body []byte) (rules []rules.Rule)

type ContentFarm

type ContentFarm struct {
	// contains filtered or unexported fields
}

func NewContentFarm

func NewContentFarm() *ContentFarm

func (*ContentFarm) Download

func (p *ContentFarm) Download(path string) ([]byte, error)

func (*ContentFarm) NeedUpdate

func (p *ContentFarm) NeedUpdate(info os.FileInfo) bool

func (*ContentFarm) ParseBody

func (p *ContentFarm) ParseBody(tag string, body []byte) (rs []rules.Rule)

type DaMiQ

type DaMiQ struct {
}

func NewDaMiQ

func NewDaMiQ() *DaMiQ

func (*DaMiQ) Download

func (p *DaMiQ) Download(path string) ([]byte, error)

func (*DaMiQ) NeedUpdate

func (p *DaMiQ) NeedUpdate(info os.FileInfo) bool

func (*DaMiQ) ParseBody

func (p *DaMiQ) ParseBody(tag string, body []byte) (rs []rules.Rule)

type Loyalsoldier

type Loyalsoldier struct {
	// contains filtered or unexported fields
}

func NewLoyalsoldier

func NewLoyalsoldier() *Loyalsoldier

func (*Loyalsoldier) Download

func (p *Loyalsoldier) Download(path string) ([]byte, error)

func (*Loyalsoldier) NeedUpdate

func (p *Loyalsoldier) NeedUpdate(info os.FileInfo) bool

func (*Loyalsoldier) ParseBody

func (p *Loyalsoldier) ParseBody(tag string, body []byte) (rules []rules.Rule)

Jump to

Keyboard shortcuts

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