gfwlist

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2016 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GFWList

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

func NewGFWList

func NewGFWList(u string, proxy string, watch bool) (*GFWList, error)

func Parse

func Parse(rules string) (*GFWList, error)

func ParseRaw

func ParseRaw(rules string) (*GFWList, error)

func (*GFWList) IsBlockedByGFW

func (gfw *GFWList) IsBlockedByGFW(req *http.Request) bool

Jump to

Keyboard shortcuts

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