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 ¶ added in v1.4.5
func (*Base) SetInterval ¶ added in v1.4.5
type ExtensionData ¶
type LeakyBucket ¶ added in v1.4.5
type LeakyBucket struct { *Base // contains filtered or unexported fields }
func NewLeakyBucket ¶ added in v1.4.5
func (*LeakyBucket) Enqueue ¶ added in v1.4.5
func (l *LeakyBucket) Enqueue(p Packet)
func (*LeakyBucket) SetBitrate ¶ added in v1.4.5
func (l *LeakyBucket) SetBitrate(bitrate int)
func (*LeakyBucket) SetInterval ¶ added in v1.4.5
func (l *LeakyBucket) SetInterval(interval time.Duration)
func (*LeakyBucket) Stop ¶ added in v1.4.5
func (l *LeakyBucket) Stop()
type NoQueue ¶
type NoQueue struct { *Base // contains filtered or unexported fields }
func NewNoQueue ¶
type PacketTime ¶
type PacketTime struct {
// contains filtered or unexported fields
}
func NewPacketTime ¶
func NewPacketTime() *PacketTime
func (*PacketTime) Get ¶
func (p *PacketTime) Get() time.Time
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.