mcwebsocket

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, router *mux.Router) (serviceTY.Service, error)

Types

type Store

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

type WebsocketService

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

func (*WebsocketService) Close

func (svc *WebsocketService) Close() error

func (*WebsocketService) CloseEventListener

func (svc *WebsocketService) CloseEventListener() error

func (*WebsocketService) Name

func (svc *WebsocketService) Name() string

func (*WebsocketService) Start

func (svc *WebsocketService) Start() error

registers it into the handlers and starts the event listener

Jump to

Keyboard shortcuts

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