servers

package
v0.0.0-...-2b0d425 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UNIXGRAM = "unixgram"
	UDP      = "udp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	Serve(buffer dispatchers.Dispatcher, running chan<- bool)
}

func CreateServer

func CreateServer(serverType string, serverAddress string) Server

type Udp

type Udp struct {
	Address string
}

func (*Udp) Serve

func (server *Udp) Serve(buffer dispatchers.Dispatcher, running chan<- bool)

type UnixDatagram

type UnixDatagram struct {
	Address string
}

func (*UnixDatagram) Serve

func (server *UnixDatagram) Serve(buffer dispatchers.Dispatcher, running chan<- bool)

Jump to

Keyboard shortcuts

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