Documentation
¶
Overview ¶
Package common gathers what is shared by the different kinds of datasource proxy (HTTP, SQL).
Index ¶
Constants ¶
View Source
const ( // DatasourceFieldLog is the log field holding the name of the datasource. DatasourceFieldLog = "datasource" // ProjectFieldLog is the log field holding the project of the datasource (see ProjectForLog). ProjectFieldLog = "project" )
Variables ¶
This section is empty.
Functions ¶
func ProjectForLog ¶
ProjectForLog returns a meaningful log value for the project field. For global datasources (where project is empty), it returns "<global>" to make logs clearer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.