ws

package
v0.0.0-...-12d4a3b Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeWs

func ServeWs(pool *Pool, userID primitive.ObjectID, msgUsecase domain.MessageUsecase, wr http.ResponseWriter, r *http.Request)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

type Pool

type Pool struct {
	// contains filtered or unexported fields
}

func NewPool

func NewPool(logger *zap.Logger) *Pool

func (*Pool) Run

func (p *Pool) Run(brokerUsecase domain.BrokerUsecase)

Jump to

Keyboard shortcuts

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