statistic

package
v0.3.1-beta.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BYPASS_DATA []byte
View Source
var Mode = map[string]*MODE{"direct": &DIRECT, "block": &BLOCK}

Functions

func NewRouter

func NewRouter(dialer proxy.Proxy) *router

func NewStatistic

func NewStatistic() *counter

Types

type MODE

type MODE string
var (
	OTHERS MODE = "OTHERS"
	BLOCK  MODE = "BLOCK"
	DIRECT MODE = "DIRECT"
	PROXY  MODE = "PROXY"
	MAX    MODE = "MAX"

	UNKNOWN MODE = "UNKNOWN"
)

func (MODE) String

func (m MODE) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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