protocol

package
v0.0.0-...-fc20b2c Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TCPServer

func TCPServer(listener net.Listener, handler TCPHandler, l Logger)

Types

type Logger

type Logger interface {
	Output(maxdepth int, s string) error
}

type TCPHandler

type TCPHandler interface {
	Handle(net.Conn)
}

Jump to

Keyboard shortcuts

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