mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-14 03:33:55 +08:00
Initial commit, pt. 67
This commit is contained in:
@@ -83,7 +83,9 @@ func NewCodeReceiver(
|
||||
close(codeCh)
|
||||
})
|
||||
|
||||
go srv.Serve(listener)
|
||||
observability.Go(ctx, func() {
|
||||
srv.Serve(listener)
|
||||
})
|
||||
|
||||
return codeCh, uint16(listener.Addr().(*net.TCPAddr).Port), nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user