update docs (#203)

This commit is contained in:
Alessandro Ros
2023-03-13 18:53:36 +01:00
committed by GitHub
parent 4b7fed505b
commit 253be9913e
21 changed files with 23 additions and 23 deletions

View File

@@ -162,12 +162,12 @@ type Client struct {
// This can be a security issue.
// It defaults to false.
AnyPortEnable bool
// the stream transport (UDP, Multicast or TCP).
// transport protocol (UDP, Multicast or TCP).
// If nil, it is chosen automatically (first UDP, then, if it fails, TCP).
// It defaults to nil.
Transport *Transport
// If the client is reading with UDP, it must receive
// at least a packet within this timeout.
// at least a packet within this timeout, otherwise it switches to TCP.
// It defaults to 3 seconds.
InitialUDPReadTimeout time.Duration
// read buffer count.