server

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2017 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 uint16) *server.WebSocketServer

func NewServeScumSocket

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

func NewServeScumbag

func NewServeScumbag() (*server.ServeProcess, error)

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