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
}
Click to show internal directories.
Click to hide internal directories.