connection

package module
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

README

Connection

Connection lib for honeycomb apps.

TODO

  • basic events
  • automatically reconnection
  • develop logger
  • heartbeat
  • encryption
  • live in a SharedWorker

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle added in v0.0.3

func Handle(ctx context.Context, responseWriter http.ResponseWriter, request *http.Request, handler func(con *Connection)) error

Types

type Connection added in v0.0.4

type Connection struct {
	IncomingMessage <-chan *[]byte
	OutgoingMessage chan<- *[]byte
}

Directories

Path Synopsis
server module

Jump to

Keyboard shortcuts

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