Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
func (*Base) SetBitrate ¶
func (*Base) SetInterval ¶
type ExtensionData ¶
type LeakyBucket ¶
type LeakyBucket struct { *Base // contains filtered or unexported fields }
func NewLeakyBucket ¶
func (*LeakyBucket) Enqueue ¶
func (l *LeakyBucket) Enqueue(p Packet)
func (*LeakyBucket) SetBitrate ¶
func (l *LeakyBucket) SetBitrate(bitrate int)
func (*LeakyBucket) SetInterval ¶
func (l *LeakyBucket) SetInterval(interval time.Duration)
func (*LeakyBucket) Stop ¶
func (l *LeakyBucket) Stop()
type NoQueue ¶
type NoQueue struct { *Base // contains filtered or unexported fields }
func NewNoQueue ¶
type PassThrough ¶
type PassThrough struct {
*Base
}
func NewPassThrough ¶
func NewPassThrough(logger logger.Logger) *PassThrough
func (*PassThrough) Enqueue ¶
func (p *PassThrough) Enqueue(pkt Packet)
func (*PassThrough) Stop ¶
func (p *PassThrough) Stop()
Click to show internal directories.
Click to hide internal directories.