Skip to content

Commit 02320ec

Browse files
committed
Add one-way-delay to RadioPeerMsg
1 parent 347734f commit 02320ec

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

jsonapi/n1n2/radio_peer_msg.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ package n1n2
77

88
import (
99
"net/netip"
10+
"time"
1011

1112
"github.com/nextmn/json-api/jsonapi"
1213
)
@@ -15,4 +16,7 @@ import (
1516
type RadioPeerMsg struct {
1617
Control jsonapi.ControlURI `json:"control"`
1718
Data netip.AddrPort `json:"data"`
19+
20+
ControlOneWayDelay time.Duration `json:"control-one-way-delay"`
21+
DataOneWayDelay time.Duration `json:"data-one-way-delay"`
1822
}

0 commit comments

Comments
 (0)