{"modulePath":"github.com/AliyunContainerService/node-problem-detector","version":"v0.4.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package util\n\n## Types\n\n```go\ntype Tomb struct {\n\t// contains filtered or unexported fields\n}\n```\nTomb is used to control the lifecycle of a goroutine.\n\n```go\nfunc NewTomb() *Tomb\n```\nNewTomb creates a new tomb.\n\n```go\nfunc (t *Tomb) Done()\n```\nDone is used by the goroutine to inform that it has stopped.\n\n```go\nfunc (t *Tomb) Stop()\n```\nStop is used to stop the goroutine outside.\n\n```go\nfunc (t *Tomb) Stopping() \u003c-chan struct{}\n```\nStopping is used by the goroutine to tell whether it should stop.\n\n","path":"github.com/AliyunContainerService/node-problem-detector/pkg/systemlogmonitor/util","name":"util","synopsis":"","isRedistributable":true}
