Help us shape the future of Go! Take the 2026 Go Developer Survey

http

package
v3.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2023 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(q *queryer.Queryer) http.Handler

Types

type QueryRequest

type QueryRequest struct {
	OrganizationID dax.OrganizationID `json:"org-id"`
	DatabaseID     dax.DatabaseID     `json:"db-id"`
	Table          dax.TableName      `json:"table-name"`
	PQL            string             `json:"pql"`
	SQL            string             `json:"sql"`
}

type QueryResponse

type QueryResponse interface{}

type SQLRequest

type SQLRequest struct {
	OrganizationID dax.OrganizationID `json:"org-id"`
	DatabaseID     dax.DatabaseID     `json:"db-id"`
	SQL            string             `json:"sql"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL