socket

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient() *gosocketio.Client

func InitClient

func InitClient(socketConfig SocketConfiguration, subscriptions func(client *gosocketio.Client)) *gosocketio.Client

Types

type SocketConfiguration

type SocketConfiguration struct {
	Host             string
	Port             string
	Path             string
	Secure           bool
	UrlParams        map[string]string
	ConnectionString string
}

func (*SocketConfiguration) GetConnectionString

func (sc *SocketConfiguration) GetConnectionString() string

Jump to

Keyboard shortcuts

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