Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
Port net.Port
MsgProcessor func(msg []byte) []byte
ShouldClose bool
SendFirst []byte
Listen net.Address
// contains filtered or unexported fields
}
func (*Server) StartContext ¶
func (server *Server) StartContext(ctx context.Context, sockopt *internet.SocketConfig) (net.Destination, error)
Click to show internal directories.
Click to hide internal directories.