mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2025-08-16 16:11:06 +02:00
36-add-route-path-into-route-object
Added the route path into the route object so that we can see what meshes packets are routed across.
This commit is contained in:
@ -2,8 +2,8 @@ package crdt
|
||||
|
||||
// Route: Represents a CRDT of the given route
|
||||
type Route struct {
|
||||
Destination string `automerge:"destination"`
|
||||
HopCount int64 `automerge:"hopCount"`
|
||||
Destination string `automerge:"destination"`
|
||||
Path []string `automerge:"path"`
|
||||
}
|
||||
|
||||
// MeshNodeCrdt: Represents a CRDT for a mesh nodes
|
||||
|
Reference in New Issue
Block a user