Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatefulTransport ¶
type StatefulTransportServer ¶
tcp, sip and quic are stateful transports
type StatelessTransport ¶
type StatelessTransportServer ¶
type StatelessTransportServer interface { Run(ctx context.Context) error OnConnect(func(transport StatelessTransport)) }
udp is a stateless transport TODO: update this interface
type TCPServer ¶
type TCPServer struct {
// contains filtered or unexported fields
}
func (*TCPServer) SetConnectionHandler ¶
Click to show internal directories.
Click to hide internal directories.