gfwlist

package
v0.0.0-...-b765225 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package gfwlist is a generated protocol buffer package.

It is generated from these files:

v2ray.com/core/tools/gfwlist/gfwlist.proto

It has these top-level messages:

Gfwlist

Index

Constants

This section is empty.

Variables

View Source
var GfwListData = []byte{} /* 140463 elements not displayed */

Functions

This section is empty.

Types

type GFWList

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

func NewGFWList

func NewGFWList() *GFWList

func Parse

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

func (*GFWList) FastMatchDomain

func (gfw *GFWList) FastMatchDomain(domain string) (bool, bool)

func (*GFWList) IsBlockedByGFW

func (gfw *GFWList) IsBlockedByGFW(domain string) bool

type Gfwlist

type Gfwlist struct {
	Content string `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"`
}

func (*Gfwlist) Descriptor

func (*Gfwlist) Descriptor() ([]byte, []int)

func (*Gfwlist) GetContent

func (m *Gfwlist) GetContent() string

func (*Gfwlist) ProtoMessage

func (*Gfwlist) ProtoMessage()

func (*Gfwlist) Reset

func (m *Gfwlist) Reset()

func (*Gfwlist) String

func (m *Gfwlist) String() string

Jump to

Keyboard shortcuts

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