socketIo2

package
v0.0.0-...-4924b15 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Name  string `json:"name"`
	Token string `json:"token"`
}

Channel

type SocketIO

type SocketIO struct {
	Server *gosocketio.Server
}

SocketIO ...

func GetSocketIO

func GetSocketIO() *SocketIO

GetSocketIO ....

func (*SocketIO) Run

func (s *SocketIO) Run()

Run ...

type VerifyJWTReturn

type VerifyJWTReturn struct {
	UserID string
	RoleID string
}

VerifyJWTReturn ...

func VerifyJWT

func VerifyJWT(tokenString string) (*VerifyJWTReturn, *error)

VerifyJWT ...

Jump to

Keyboard shortcuts

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