We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
细一些的通用设计就看你们了,我自己改的一版可能仅使用我们的环境。
: main方法 func main(){defer gocDoClose()
}
:goc-cover文件 import goc "example.com/simple-project/goc-cover-agent-apis-auto-generated-11111-22222-package" func gocDoClose() { goc.Unregister() }
:goc文件 func Unregister(){ ctx, cancel := context.WithTimeout(context.Background(), time.Second*10) defer cancel() http.syncCall(ctx, "req_config") // 完成响应才退出,http这就可以通知最后一次采集了 }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
细一些的通用设计就看你们了,我自己改的一版可能仅使用我们的环境。
: main方法
func main(){defer gocDoClose()
}
:goc-cover文件
import goc "example.com/simple-project/goc-cover-agent-apis-auto-generated-11111-22222-package"
func gocDoClose() {
goc.Unregister()
}
:goc文件
func Unregister(){
ctx, cancel := context.WithTimeout(context.Background(), time.Second*10)
defer cancel()
http.syncCall(ctx, "req_config")
// 完成响应才退出,http这就可以通知最后一次采集了
}
The text was updated successfully, but these errors were encountered: