origin_leaf

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LEAF_PING_INTERVAL = 2 * time.Second
	RECONNECT_DELAY    = 2 * time.Second
)

Variables

This section is empty.

Functions

func LeafConnectAndServe

func LeafConnectAndServe(server string)

connect to the origin server and start processing messages from origin

func OriginListenAndServe

func OriginListenAndServe(w http.ResponseWriter, r *http.Request)

func RequestUserSpacesFromOrigin added in v0.17.0

func RequestUserSpacesFromOrigin(userId string, existing []string)

func StartLeafSessionGC added in v0.17.0

func StartLeafSessionGC()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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