socketio

package
v0.0.0-...-f887261 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SocketIO

type SocketIO struct {
	Service        service.Service
	Logger         *zap.Logger
	TimeFormat     string
	CdnURL         string
	ImageExtension string
}

SocketIO holds all the data related to Socket.IO.

func NewSocketIO

func NewSocketIO(cfg *config.Config) (*SocketIO, error)

NewSocketIO returns new value of type SocketIO.

func (*SocketIO) NewSocketIOServer

func (socket *SocketIO) NewSocketIOServer() (*socketio.Server, error)

NewSocketIOServer returns Socket.IO server.

Jump to

Keyboard shortcuts

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