chshare

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DetermRandIter = ccrypto.DetermRandIter
)
View Source
const ProtocolVersion = "tcpforwarder-v3"

ProtocolVersion of tcpforwarder. When backwards incompatible changes are made, this will be incremented to signify a protocol mismatch.

Variables

View Source
var (
	NewDetermRand    = ccrypto.NewDetermRand
	GenerateKey      = ccrypto.GenerateKey
	FingerprintKey   = ccrypto.FingerprintKey
	Pipe             = cio.Pipe
	NewLoggerFlag    = cio.NewLoggerFlag
	NewLogger        = cio.NewLogger
	Stdio            = cio.Stdio
	DecodeConfig     = settings.DecodeConfig
	DecodeRemote     = settings.DecodeRemote
	NewUsers         = settings.NewUsers
	NewUserIndex     = settings.NewUserIndex
	UserAllowAll     = settings.UserAllowAll
	ParseAuth        = settings.ParseAuth
	NewRWCConn       = cnet.NewRWCConn
	NewWebSocketConn = cnet.NewWebSocketConn
	NewHTTPServer    = cnet.NewHTTPServer
	GoStats          = cos.GoStats
	SleepSignal      = cos.SleepSignal
	NewTCPProxy      = tunnel.NewProxy
)
View Source
var BuildVersion = "0.0.0-src"

Functions

func EncodeConfig

func EncodeConfig(c *settings.Config) ([]byte, error)

EncodeConfig old version

Types

type Config

type Config = settings.Config

type ConnStats

type ConnStats = cnet.ConnCount

type HTTPServer

type HTTPServer = cnet.HTTPServer

type Logger

type Logger = cio.Logger

type Remote

type Remote = settings.Remote

type Remotes

type Remotes = settings.Remotes

type TCPProxy

type TCPProxy = tunnel.Proxy

type User

type User = settings.User

type UserIndex

type UserIndex = settings.UserIndex

type Users

type Users = settings.Users

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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