httpserver

package
v1.14.0-dev.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TopicPrefix            = "$$httppush/"
	WebsocketTopicPrefix   = "$$websocket/"
	WebsocketServerDataKey = "$$websocket/server/data"
)

Variables

This section is empty.

Functions

func CheckWebsocketEndpoint

func CheckWebsocketEndpoint(endpoint string) bool

func GetWebsocketEndpointCh

func GetWebsocketEndpointCh(endpoint string) (string, string, chan struct{}, error)

func RegisterEndpoint

func RegisterEndpoint(endpoint string, method string, _ string) (string, chan struct{}, error)

func RegisterWebSocketEndpoint

func RegisterWebSocketEndpoint(ctx api.StreamContext, endpoint string) (string, string, chan struct{}, error)

func UnRegisterWebSocketEndpoint

func UnRegisterWebSocketEndpoint(endpoint string) error

func UnregisterEndpoint

func UnregisterEndpoint(endpoint string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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