simplificed monotonic time functions by using x/sys/unix
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
package hodu
|
||||
|
||||
type ConnId uint64
|
||||
type RouteId uint32
|
||||
type PeerId uint32
|
||||
type ConnId uint64
|
||||
type RouteId uint32 // keep this in sync with the type of RouteId in hodu.proto
|
||||
type PeerId uint32 // keep this in sync with the type of RouteId in hodu.proto
|
||||
|
||||
func MakeRouteStartPacket(route_id RouteId, proto ROUTE_PROTO, addr string, svcnet string) *Packet {
|
||||
return &Packet{
|
||||
|
Reference in New Issue
Block a user