websocket

package
v0.0.0-...-06831c0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalPayload

func MarshalPayload(t string, m interface{}) ([]byte, error)

func Server

func Server(logger *zap.Logger, config options.WebsocketOpt, tv tokenValidator) *server

func Session

func Session(ctx context.Context, ws *server, conn *websocket.Conn) *session

Types

This section is empty.

Jump to

Keyboard shortcuts

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