rename client struct to udpConn

This commit is contained in:
2024-11-05 18:35:39 +00:00
parent c063feb919
commit d72c6a2d17
3 changed files with 19 additions and 19 deletions

View File

@@ -16,7 +16,7 @@ func WithRateLimit(ratelimit time.Duration) Option {
}
}
// WithBPSOpt is a functional option to set the bps index for {VbanTx}.{Packet}.bpsIndex
// WithBPSOpt is a functional option to set the bps index for {VbanTxt}.packet
func WithBPSOpt(bps int) Option {
return func(vt *VbanTxt) {
bpsIndex := indexOf(BpsOpts, bps)
@@ -28,7 +28,7 @@ func WithBPSOpt(bps int) Option {
}
}
// WithChannel is a functional option to set the bps index for {VbanTx}.{Packet}.channel
// WithChannel is a functional option to set the channel for {VbanTxt}.packet
func WithChannel(channel int) Option {
return func(vt *VbanTxt) {
vt.packet.channel = channel