websocket

package
v0.0.0-...-5ddb3d2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	ConnectionHandler(w http.ResponseWriter, r *http.Request)
}

Handler defines the handler interface

func NewHandler

func NewHandler(ctx context.Context, bus event.Bus, keystore key.Store) (Handler, error)

NewHandler creates a new connections instance that clients can connect to in order to get realtime events

Jump to

Keyboard shortcuts

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