Documentation ¶
Index ¶
- Variables
- func Connect(c *gin.Context)
- func ConnectWithBackend(c *gin.Context)
- func DB(c *gin.Context) *client.Client
- func DataExport(c *gin.Context)
- func Disconnect(c *gin.Context)
- func ExplainQuery(c *gin.Context)
- func GetActivity(c *gin.Context)
- func GetAsset(c *gin.Context)
- func GetBookmarks(c *gin.Context)
- func GetConnectionInfo(c *gin.Context)
- func GetDatabases(c *gin.Context)
- func GetHistory(c *gin.Context)
- func GetHome(c *gin.Context)
- func GetInfo(c *gin.Context)
- func GetObjects(c *gin.Context)
- func GetSchemas(c *gin.Context)
- func GetSessions(c *gin.Context)
- func GetTable(c *gin.Context)
- func GetTableConstraints(c *gin.Context)
- func GetTableIndexes(c *gin.Context)
- func GetTableInfo(c *gin.Context)
- func GetTableRows(c *gin.Context)
- func HandleQuery(query string, c *gin.Context)
- func RunQuery(c *gin.Context)
- func SetupMiddlewares(group *gin.RouterGroup)
- func SetupRoutes(router *gin.Engine)
- func StartSessionCleanup()
- func SwitchDb(c *gin.Context)
- type Backend
- type BackendCredential
- type BackendRequest
- type Error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ConnectWithBackend ¶ added in v0.9.9
func Disconnect ¶ added in v0.9.2
func ExplainQuery ¶
func GetActivity ¶
func GetBookmarks ¶
func GetConnectionInfo ¶
func GetDatabases ¶
func GetHistory ¶
func GetObjects ¶ added in v0.9.0
func GetSchemas ¶
func GetSessions ¶ added in v0.8.0
func GetTableConstraints ¶ added in v0.7.0
func GetTableIndexes ¶
func GetTableInfo ¶
func GetTableRows ¶
func HandleQuery ¶
func SetupMiddlewares ¶ added in v0.6.3
func SetupMiddlewares(group *gin.RouterGroup)
func SetupRoutes ¶
func StartSessionCleanup ¶ added in v0.9.9
func StartSessionCleanup()
StartSessionCleanup starts a goroutine to cleanup idle database sessions
Types ¶
type Backend ¶ added in v0.9.9
Backend represents a third party configuration source
func (Backend) FetchCredential ¶ added in v0.9.9
FetchCredential sends an authentication request to a third-party service
type BackendCredential ¶ added in v0.9.9
type BackendCredential struct {
DatabaseURL string `json:"database_url"`
}
BackendCredential represents the third-party response
Click to show internal directories.
Click to hide internal directories.