Documentation
¶
Index ¶
- type QuicServer
- func (s *QuicServer) Close() error
- func (s *QuicServer) CommunicationConn(ctx context.Context) (*streams.QuicConnection, error)
- func (s *QuicServer) Start(ctx context.Context) error
- func (s *QuicServer) TransportConn(ctx context.Context) (*streams.QuicConnection, error)
- func (s *QuicServer) WaitForListenPort(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuicServer ¶
type QuicServer struct {
// contains filtered or unexported fields
}
QuicServer represents QUIC server.
func NewQuicServer ¶
func NewQuicServer() (*QuicServer, error)
NewQuicServer creates new QUIC server.
func (*QuicServer) CommunicationConn ¶
func (s *QuicServer) CommunicationConn(ctx context.Context) (*streams.QuicConnection, error)
CommunicationConn returns communication connection.
func (*QuicServer) Start ¶
func (s *QuicServer) Start(ctx context.Context) error
Start starts QUIC server.
func (*QuicServer) TransportConn ¶
func (s *QuicServer) TransportConn(ctx context.Context) (*streams.QuicConnection, error)
TransportConn returns transport connection.
func (*QuicServer) WaitForListenPort ¶
func (s *QuicServer) WaitForListenPort(ctx context.Context) (string, error)
WaitForListenPort waits for listen port.
Click to show internal directories.
Click to hide internal directories.