Documentation ¶
Index ¶
- type Connection
- func (c *Connection) Close()
- func (c *Connection) CloseAllStreams()
- func (c *Connection) CloseStream()
- func (c *Connection) CloseStreamById(id int64)
- func (c *Connection) Connect(url string) bool
- func (conn *Connection) Exports() modules.Exports
- func (c *Connection) OpenStream() int64
- func (c *Connection) ReadAll() []byte
- func (c *Connection) ReadAtLeast(maxReadLength int, minReadLength int) []byte
- func (c *Connection) ReadBuffer() [][]byte
- func (c *Connection) ReadFull(expectedReadLength int) []byte
- func (c *Connection) ReadStream(maxReadLength int)
- func (c *Connection) ReceiveDatagram() []byte
- func (c *Connection) SendDatagram(p []byte)
- func (c *Connection) SetActiveStream(id int64)
- func (c *Connection) StartReadToBuffer(maxReadLength int)
- func (c *Connection) Write(p []byte)
- type RootModule
- type WTMetrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { Session *webtransport.Session // contains filtered or unexported fields }
func (*Connection) Close ¶
func (c *Connection) Close()
func (*Connection) CloseAllStreams ¶
func (c *Connection) CloseAllStreams()
func (*Connection) CloseStream ¶
func (c *Connection) CloseStream()
func (*Connection) CloseStreamById ¶
func (c *Connection) CloseStreamById(id int64)
func (*Connection) Connect ¶
func (c *Connection) Connect(url string) bool
func (*Connection) Exports ¶
func (conn *Connection) Exports() modules.Exports
func (*Connection) OpenStream ¶
func (c *Connection) OpenStream() int64
func (*Connection) ReadAll ¶
func (c *Connection) ReadAll() []byte
func (*Connection) ReadAtLeast ¶
func (c *Connection) ReadAtLeast(maxReadLength int, minReadLength int) []byte
func (*Connection) ReadBuffer ¶
func (c *Connection) ReadBuffer() [][]byte
func (*Connection) ReadFull ¶
func (c *Connection) ReadFull(expectedReadLength int) []byte
func (*Connection) ReadStream ¶
func (c *Connection) ReadStream(maxReadLength int)
func (*Connection) ReceiveDatagram ¶
func (c *Connection) ReceiveDatagram() []byte
func (*Connection) SendDatagram ¶
func (c *Connection) SendDatagram(p []byte)
func (*Connection) SetActiveStream ¶
func (c *Connection) SetActiveStream(id int64)
func (*Connection) StartReadToBuffer ¶
func (c *Connection) StartReadToBuffer(maxReadLength int)
func (*Connection) Write ¶
func (c *Connection) Write(p []byte)
type RootModule ¶
type RootModule struct{}
func (*RootModule) NewModuleInstance ¶
func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance
type WTMetrics ¶
type WTMetrics struct { StreamsWriteCount *metrics.Metric StreamsWriteBytes *metrics.Metric StreamsWriteSize *metrics.Metric StreamsReadCount *metrics.Metric StreamsReadBytes *metrics.Metric StreamsReadSize *metrics.Metric StreamsTotal *metrics.Metric DatagramsSentCount *metrics.Metric DatagramsSentBytes *metrics.Metric DatagramsRecvCount *metrics.Metric DatagramsRecvBytes *metrics.Metric }
Click to show internal directories.
Click to hide internal directories.