edge

package
v0.5.28 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Edge

type Edge struct {
	Session tunnel.Session
	Stream  tunnel.Stream
	Path    string
	Values  url.Values
	Header  http.Header
	RealIP  string
}

Edge is a transport agnostic edge object

type HTTPUpgrader

type HTTPUpgrader interface {
	Upgrader
	http.Handler
}

Upgrade incoming edge requests via HTTP

type Subscriber

type Subscriber interface {
	Subscribe(u Upgrader)
}

Subscribe to incoming requests

type Upgrader

type Upgrader interface {
	Root() string
	Upgrade() (*Edge, error)
}

Upgrade incoming edge requests

Jump to

Keyboard shortcuts

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