socketio

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService() *Service

func (*Service) Connect

func (s *Service) Connect(orgId string) error

func (*Service) Disconnect

func (s *Service) Disconnect()

func (*Service) Emit

func (s *Service) Emit(event string, data ...any)

func (*Service) IsConnected

func (s *Service) IsConnected() bool

func (*Service) On

func (s *Service) On(event string, handler func(...any))

func (*Service) SetVerboseCallback

func (s *Service) SetVerboseCallback(cb func(string))

SetVerboseCallback sets a callback function for verbose logging messages

Jump to

Keyboard shortcuts

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