connections

package
v0.0.0-...-4f83aec Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2016 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Execute(command []string) Response
	LeaveRoom()
	SetConnection(Connection)
}

type ClientFactory

type ClientFactory interface {
	New(name string, connection Connection) Client
}

type Connection

type Connection interface {
	SendMessage(m message.Message)
	Close()
}

type Response

type Response interface {
	Success() bool
	Code() int
	String() string
	Data() interface{}
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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