socketclient

package module
v0.0.0-...-79ba24c Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2016 License: ISC Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SocketReconnecting int32 = iota
	SocketOpen
	SocketClosed
)

Variables

View Source
var (
	ErrReconnect = errors.New("Socket is reconnecting")
	ErrShutdown  = errors.New("Socket is shutting down")
)

Functions

This section is empty.

Types

type SocketClient

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

func NewSocketClient

func NewSocketClient(addr string, namespace string) (*SocketClient, error)

func (*SocketClient) Close

func (pc *SocketClient) Close()

func (*SocketClient) Exec

func (pc *SocketClient) Exec(method string, args interface{}, result interface{}) error

type SocketRemoteError

type SocketRemoteError struct {
	RemoteError interface{}
}

func (*SocketRemoteError) Error

func (sre *SocketRemoteError) Error() string

type SocketRequest

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

Jump to

Keyboard shortcuts

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