go.opencensus.io/stats/view.viewInternal.subscribed (field)
4 uses
go.opencensus.io/stats/view (current package)
view.go#L121: subscribed uint32 // 1 if someone is subscribed and data need to be exported, use atomic to access
view.go#L135: atomic.StoreUint32(&v.subscribed, 1)
view.go#L139: atomic.StoreUint32(&v.subscribed, 0)
view.go#L145: return atomic.LoadUint32(&v.subscribed) == 1
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |