type contrib.go.opencensus.io/integrations/ocsql.TraceOption
18 uses
contrib.go.opencensus.io/integrations/ocsql (current package)
driver.go#L53: func Register(driverName string, options ...TraceOption) (string, error) {
driver.go#L90: func Wrap(d driver.Driver, options ...TraceOption) driver.Driver {
driver.go#L111: func WrapConn(c driver.Conn, options ...TraceOption) driver.Conn {
driver_go1.10.go#L21: func WrapConnector(dc driver.Connector, options ...TraceOption) driver.Connector {
options.go#L8: type TraceOption func(o *TraceOptions)
options.go#L56: func WithAllTraceOptions() TraceOption {
options.go#L76: func WithOptions(options TraceOptions) TraceOption {
options.go#L89: func WithAllowRoot(b bool) TraceOption {
options.go#L96: func WithPing(b bool) TraceOption {
options.go#L104: func WithRowsNext(b bool) TraceOption {
options.go#L112: func WithRowsClose(b bool) TraceOption {
options.go#L120: func WithRowsAffected(b bool) TraceOption {
options.go#L128: func WithLastInsertID(b bool) TraceOption {
options.go#L137: func WithQuery(b bool) TraceOption {
options.go#L147: func WithQueryParams(b bool) TraceOption {
options.go#L154: func WithDefaultAttributes(attrs ...trace.Attribute) TraceOption {
golang.org/x/pkgsite/internal/database
driver.go#L18: func RegisterOCWrapper(driverName string, opts ...ocsql.TraceOption) (string, error) {
driver.go#L35: opts []ocsql.TraceOption
![]() |
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. |