fix: Fix connection interface binding, JSON lease DB
This commit is contained in:
1 parent
cb8b6c03b6
commit
ac7185bfb5
8 files changed
+277
-75
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user