go.undefinedlabs.com/scopeagent@v0.4.2/instrumentation/sql/vendor.go (about)

     1  package sql
     2  
     3  // Extension to any specific vendor data
     4  type vendorExtension interface {
     5  	// Gets if the extension is compatible with the component name
     6  	IsCompatible(componentName string) bool
     7  
     8  	// Complete the missing driver data from the connection string
     9  	ProcessConnectionString(connectionString string, configuration *driverConfiguration)
    10  }
    11  
    12  type values map[string]string
    13  
    14  var vendorExtensions []vendorExtension