model

package
v0.0.0-...-3404f59 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ProtocolHttps   = "https"
	ProtocolHttp    = "http"
	ProtocolSocks   = "socks"
	ProtocolUnknown = "unknown"
)

Variables

This section is empty.

Functions

func ProtocolFromString

func ProtocolFromString(s string) rpc.Protocol

func ProtocolToString

func ProtocolToString(protocol rpc.Protocol) string

Types

type Proxy

type Proxy struct {
	rpc.Proxy
}

func (*Proxy) Check

func (i *Proxy) Check() (bool, error)

func (*Proxy) Equal

func (i *Proxy) Equal(ip *Proxy) bool

func (*Proxy) String

func (i *Proxy) String() string

Jump to

Keyboard shortcuts

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