tcpserver

package
v0.0.0-...-a2a6e8a Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTcpServer

func NewTcpServer(conf server.Config) server.Server

Types

type TcpServer

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

func (*TcpServer) ReStart

func (s *TcpServer) ReStart() error

func (*TcpServer) Reload

func (s *TcpServer) Reload(conf server.Config) error

func (*TcpServer) Run

func (s *TcpServer) Run() (*session.Session, error)

func (*TcpServer) Shutdown

func (s *TcpServer) Shutdown() error

func (*TcpServer) Use

func (s *TcpServer) Use(h server.HandleFunc)

Jump to

Keyboard shortcuts

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