More status
This commit is contained in:
parent
df22ea3a44
commit
339459d37a
1 changed files with 9 additions and 0 deletions
9
main.go
9
main.go
|
@ -246,6 +246,11 @@ func main() {
|
||||||
|
|
||||||
// ---------------------- Raw AppleTalk/AARP inbound ----------------------
|
// ---------------------- Raw AppleTalk/AARP inbound ----------------------
|
||||||
go func() {
|
go func() {
|
||||||
|
ctx, setStatus, done := status.AddSimpleItem(ctx, "EtherTalk inbound")
|
||||||
|
defer done()
|
||||||
|
|
||||||
|
setStatus("Running")
|
||||||
|
|
||||||
for {
|
for {
|
||||||
if ctx.Err() != nil {
|
if ctx.Err() != nil {
|
||||||
return
|
return
|
||||||
|
@ -365,6 +370,10 @@ func main() {
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// ----------------------------- AURP inbound -----------------------------
|
// ----------------------------- AURP inbound -----------------------------
|
||||||
|
ctx, setStatus, done := status.AddSimpleItem(ctx, "AURP inbound")
|
||||||
|
defer done()
|
||||||
|
setStatus("Running")
|
||||||
|
|
||||||
for {
|
for {
|
||||||
if ctx.Err() != nil {
|
if ctx.Err() != nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue