Source File
errors.go
Belonging Package
github.com/pion/turn/v4/internal/allocation
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>// SPDX-License-Identifier: MITpackage allocationimportvar (errAllocatePacketConnMustBeSet = errors.New("AllocatePacketConn must be set")errAllocateConnMustBeSet = errors.New("AllocateConn must be set")errLeveledLoggerMustBeSet = errors.New("LeveledLogger must be set")errSameChannelDifferentPeer = errors.New("you cannot use the same channel number with different peer")errNilFiveTuple = errors.New("allocations must not be created with nil FivTuple")errNilFiveTupleSrcAddr = errors.New("allocations must not be created with nil FiveTuple.SrcAddr")errNilFiveTupleDstAddr = errors.New("allocations must not be created with nil FiveTuple.DstAddr")errNilTurnSocket = errors.New("allocations must not be created with nil turnSocket")errLifetimeZero = errors.New("allocations must not be created with a lifetime of 0")errDupeFiveTuple = errors.New("allocation attempt created with duplicate FiveTuple")errFailedToCastUDPAddr = errors.New("failed to cast net.Addr to *net.UDPAddr")errFailedToAllocateEvenPort = errors.New("failed to allocate an even port")errAdminProhibited = errors.New("permission request administratively prohibited"))
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |