tcptest

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2015 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Addr     string
	Listener net.Listener
	TLS      *tls.Config
	Config   *tcp.Server
}

func NewServer

func NewServer(h tcp.Handler) *Server

func NewUnstartedTCPServer

func NewUnstartedTCPServer(h tcp.Handler) *Server

func (*Server) Close

func (s *Server) Close()

func (*Server) CloseClientConnections

func (s *Server) CloseClientConnections()

func (*Server) Start

func (s *Server) Start()

Jump to

Keyboard shortcuts

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