chshare

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 8 Imported by: 22 modules, 38 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DetermRandIter = ccrypto.DetermRandIter
)

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"

BuildVersion is set at build time via ldflags, and otherwise falls back to the go module version embedded by `go install pkg@version` (see init)

View Source
var ProtocolVersion = "chisel-v3"

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

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