sps

package
v0.0.0-...-1ef8d7c Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSPS

func NewSPS() services.Service

Types

type SPS

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

func (*SPS) CheckArgs

func (s *SPS) CheckArgs() (err error)

func (*SPS) Clean

func (s *SPS) Clean()

func (*SPS) InitBasicAuth

func (s *SPS) InitBasicAuth() (err error)

func (*SPS) InitOutConnPool

func (s *SPS) InitOutConnPool()

func (*SPS) InitService

func (s *SPS) InitService() (err error)

func (*SPS) IsBasicAuth

func (s *SPS) IsBasicAuth() bool

func (*SPS) OutToTCP

func (s *SPS) OutToTCP(inConn *net.Conn) (err error)

func (*SPS) Resolve

func (s *SPS) Resolve(address string) string

func (*SPS) Start

func (s *SPS) Start(args interface{}, log *logger.Logger) (err error)

func (*SPS) StopService

func (s *SPS) StopService()

type SPSArgs

type SPSArgs struct {
	Parent            *string
	CertFile          *string
	KeyFile           *string
	CaCertFile        *string
	CaCertBytes       []byte
	CertBytes         []byte
	KeyBytes          []byte
	Local             *string
	ParentType        *string
	LocalType         *string
	Timeout           *int
	KCP               kcpcfg.KCPConfigArgs
	ParentServiceType *string
	DNSAddress        *string
	DNSTTL            *int
	AuthFile          *string
	Auth              *[]string
	AuthURL           *string
	AuthURLOkCode     *int
	AuthURLTimeout    *int
	AuthURLRetry      *int
	LocalIPS          *[]string
	ParentAuth        *string
	LocalKey          *string
	ParentKey         *string
	LocalCompress     *bool
	ParentCompress    *bool
	DisableHTTP       *bool
	DisableSocks5     *bool
}

Jump to

Keyboard shortcuts

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