Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindWaiters ¶
Types ¶
type HeaderBuilder ¶
type HeaderBuilder struct {
// contains filtered or unexported fields
}
func NewHeaderBuilder ¶
func NewHeaderBuilder(file string) *HeaderBuilder
NewHeaderBuilder creates an instance of the HeaderBuilder
func (*HeaderBuilder) Build ¶
func (h *HeaderBuilder) Build() (err error)
func (*HeaderBuilder) CreateHeader ¶
func (h *HeaderBuilder) CreateHeader(index int, data []byte) []byte
CreateHeader creates the header with index
func (*HeaderBuilder) GetBufferCount ¶
func (h *HeaderBuilder) GetBufferCount() int
GetBufferCount returns the buffer count
func (*HeaderBuilder) GetChunk ¶
func (h *HeaderBuilder) GetChunk() int
GetChunk returns the chunk size
func (*HeaderBuilder) GetFileSize ¶
func (h *HeaderBuilder) GetFileSize() int64
GetFileSize returns the file size
func (*HeaderBuilder) GetFilename ¶
func (h *HeaderBuilder) GetFilename() string
GetFilename returns the file name
type SafeMap ¶
func NewSafeMap ¶
func (*SafeMap) GetAndRemove ¶
func (*SafeMap) GetLowestAndRemove ¶
type UDPSender ¶
type UDPSender struct {
// contains filtered or unexported fields
}
func NewUDPSender ¶
type UDPWaiter ¶
type UDPWaiter struct {
// contains filtered or unexported fields
}
UDPWaiter represents a UDP component for receiving data
func NewUDPWaiter ¶
NewUDPWaiter creates an instance of NewUDPWaiter
func (*UDPWaiter) ListenAddress ¶
ListenAddress set the listen address
Click to show internal directories.
Click to hide internal directories.