server

package
v0.0.0-...-793be69 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScumbagServer

func NewScumbagServer() server.Server

func NewScumsocketServer

func NewScumsocketServer(maxConnections uint) *server.WebSocketServer

func NewServeScumSocket

func NewServeScumSocket(wsServer *server.WebSocketServer) *server.ServeProcess

func NewServeScumbag

func NewServeScumbag() *server.ServeProcess

Types

type ScumSocketService

type ScumSocketService struct{}

func (*ScumSocketService) Process

func (this *ScumSocketService) Process(data []byte, session *server.WSSession)

type ScumbagServer

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

func (*ScumbagServer) Running

func (this *ScumbagServer) Running() bool

func (*ScumbagServer) ShutDown

func (this *ScumbagServer) ShutDown()

func (*ScumbagServer) Start

func (this *ScumbagServer) Start(sc *server.ServerConfig, g *gin.Engine)

Jump to

Keyboard shortcuts

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