Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReceiveStream ¶
ReceiveStream is an unidirectional Receive Stream.
type SendStream ¶
A SendStream is an unidirectional Send Stream.
type Server ¶
type Server interface { // SetHandler sets QUIC callbacks. SetHandler(handler ServerHandler) // ListenAndServe starts listening on UDP network address addr and // serves incoming packets. ListenAndServe(ctx context.Context, addr string) error }
Server is the QUIC server
func NewServer ¶
func NewServer(handle ServerHandler) Server
NewServer inits the default implementation of QUIC server
type ServerHandler ¶
ServerHandler defines interface to handle the QUIC stream callbacks.
Click to show internal directories.
Click to hide internal directories.