chshare

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 6 Imported by: 35

Documentation

Index

Constants

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

ProtocolVersion of chisel. 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 added in v1.7.0

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