fix: Fix connection interface binding, JSON lease DB

This commit is contained in:
Adrian Rumpold committed 2024-01-09 12:23:41 +01:00
1 parent cb8b6c03b6
commit ac7185bfb5
8 files changed
+277 -75

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package util
import (
"encoding/binary"
)
func U32ToByte(u uint32) []byte {
buf := make([]byte, 4)
binary.BigEndian.PutUint32(buf, u)
return buf
}