gocketio

package module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 6 Imported by: 0

README

Gocketio

A Socket.io Client for Golang

Compatible with Socket.io Version 4

Example is located in main folder. Using Holodex Socket.io server

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gocket added in v0.1.0

type Gocket struct {
	Scheme   string
	Host     string
	Path     string
	RawQuery string
	// contains filtered or unexported fields
}

func (*Gocket) Emit added in v0.1.0

func (gocketObject *Gocket) Emit(event string, data interface{})

func (*Gocket) On added in v0.1.0

func (gocketObject *Gocket) On(event string, callBack func(data events.CallbackData))

func (*Gocket) StartGocket added in v0.1.0

func (gocketObject *Gocket) StartGocket(quit chan bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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