1
0
forked from extern/smegmesh
smegmesh/pkg/automerge/types.go
2023-10-05 17:48:54 +01:00

13 lines
301 B
Go

package crdt
type MeshNodeCrdt struct {
HostEndpoint string `automerge:"hostEndpoint"`
WgEndpoint string `automerge:"wgEndpoint"`
PublicKey string `automerge:"publicKey"`
WgHost string `automerge:"wgHost"`
}
type MeshCrdt struct {
Nodes map[string]MeshNodeCrdt `automerge:"nodes"`
}