type github.com/jackc/pgconn/internal/ctxwatch.ContextWatcher
6 uses
github.com/jackc/pgconn/internal/ctxwatch (current package)
context_watcher.go#L9: type ContextWatcher struct {
context_watcher.go#L20: func NewContextWatcher(onCancel func(), onUnwatchAfterCancel func()) *ContextWatcher {
context_watcher.go#L21: cw := &ContextWatcher{
context_watcher.go#L31: func (cw *ContextWatcher) Watch(ctx context.Context) {
context_watcher.go#L56: func (cw *ContextWatcher) Unwatch() {
github.com/jackc/pgconn
pgconn.go#L94: contextWatcher *ctxwatch.ContextWatcher
![]() |
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. |