Versions in this module Expand all Collapse all v0 v0.1.0 Apr 2, 2019 v0.0.1 Feb 21, 2019 Changes in this version + type BidirectionalStream struct + func (s *BidirectionalStream) Detach() quic.Stream + func (s *BidirectionalStream) ReadInto(data []byte) (StreamReadResult, error) + func (s *BidirectionalStream) StreamID() uint64 + func (s *BidirectionalStream) Write(data StreamWriteParameters) error + type Config struct + Certificate *x509.Certificate + Client bool + PrivateKey crypto.PrivateKey + type StreamReadResult struct + Amount int + Finished bool + type StreamWriteParameters struct + Data []byte + Finished bool + type Transport struct + func NewTransport(url string, config *Config) (*Transport, error) + type TransportBase struct + func (b *TransportBase) CreateBidirectionalStream() (*BidirectionalStream, error) + func (b *TransportBase) GetRemoteCertificates() []*x509.Certificate + func (b *TransportBase) OnBidirectionalStream(f func(*BidirectionalStream)) + func (b *TransportBase) StartBase(conn net.Conn, config *Config) error + func (b *TransportBase) Stop(stopInfo TransportStopInfo) error + type TransportStopInfo struct + ErrorCode uint16 + Reason string