Documentation ¶ Index ¶ type Server func (v *Server) Close() func (server *Server) Start() (v2net.Destination, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { Port v2net.Port MsgProcessor func(msg []byte) []byte SendFirst []byte Listen v2net.Address // contains filtered or unexported fields } func (*Server) Close ¶ func (v *Server) Close() func (*Server) Start ¶ func (server *Server) Start() (v2net.Destination, error) Source Files ¶ View all Source files tcp.go Click to show internal directories. Click to hide internal directories.