mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-02 19:57:35 +03:00
16 lines
381 B
Go
16 lines
381 B
Go
package protocol
|
|
|
|
// [UQUIC]
|
|
func GenerateConnectionIDForInitialWithLen(l int) (ConnectionID, error) {
|
|
return GenerateConnectionID(l)
|
|
}
|
|
|
|
type ExpEmptyConnectionIDGenerator struct{}
|
|
|
|
func (g *ExpEmptyConnectionIDGenerator) GenerateConnectionID() (ConnectionID, error) {
|
|
return GenerateConnectionID(0)
|
|
}
|
|
|
|
func (g *ExpEmptyConnectionIDGenerator) ConnectionIDLen() int {
|
|
return 0
|
|
}
|