Documentation
¶
Index ¶
Constants ¶
View Source
const MAGIC uint8 = 42
MAGIC is the Wireleap magic number.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FragReadConn ¶
FragReadConn is the type of a connection reading from a network stream of wireleap-relay-fragmented data transparently.
type FragWriteCloser ¶
type FragWriteCloser struct{ io.ReadWriteCloser }
FragWriteCloser is the type of a connection writing data to a network stream of wireleap-relay-fragmented data transparently.
type Init ¶
type Init struct {
Command string `json:"command"`
Protocol string `json:"protocol"`
Remote *texturl.URL `json:"remote"`
Token *sharetoken.T `json:"token"`
Version *semver.Version `json:"version"`
}
Init is the struct type encoding values passed while initializing the tunneled connection ("init payload").
Directories
¶
| Path | Synopsis |
|---|---|
|
Package h2conn implements a net.Conn reads and writes over which are actually directed towards a h/2 stream.
|
Package h2conn implements a net.Conn reads and writes over which are actually directed towards a h/2 stream. |
|
Package h2rwc implements a io.ReadWriteCloser composed from an io.Writer and io.ReadCloser (most probably, http.ResponseWriter and server-side http.Request.Body).
|
Package h2rwc implements a io.ReadWriteCloser composed from an io.Writer and io.ReadCloser (most probably, http.ResponseWriter and server-side http.Request.Body). |
Click to show internal directories.
Click to hide internal directories.