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 ¶ added in v1.0.0
func (server *Server) StartContext(ctx context.Context, sockopt *internet.SocketConfig) (net.Destination, error)
Click to show internal directories.
Click to hide internal directories.