structs

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminRequest added in v0.17.11

type AdminRequest struct {
	ID        string
	UserID    config.UserID
	TargetID  config.TargetID
	Query     string
	CreatedAt string
}

type AdminRequestDetails added in v0.17.11

type AdminRequestDetails struct {
	ID        string
	UserID    config.UserID
	TargetID  config.TargetID
	Query     string
	CreatedAt string
	QTable    QTable
	Meta      *QMeta
}

type Bookmark added in v0.17.1

type Bookmark struct {
	ID       string
	TargetID config.TargetID
	Title    string
	Query    string
}

type QMeta added in v0.17.2

type QMeta struct {
	ExecutionTimeMS    int64 `json:"execution_time_ms"`
	ParsingTimeMS      int64 `json:"parsing_time_ms"`
	NetworkRoundTripMS int64 `json:"network_round_trip_ms"`
	RowsCount          int   `json:"rows_count,omitempty"`
	ColumnsCount       int   `json:"columns_count,omitempty"`
	VectorsCount       int   `json:"vectors_count,omitempty"`
}

type QTable

type QTable struct {
	Headers []string   `json:"headers"`
	Rows    [][]string `json:"rows"`
}

type Query added in v0.17.14

type Query struct {
	ID        string
	TargetID  config.TargetID
	Query     string
	CreatedAt string
}

type Server

type Server struct {
	ID          config.TargetID
	Description string
	Tags        []Tag
	Type        string
	Tables      []config.TargetTable
}

type Tag added in v0.11.0

type Tag struct {
	Name string
}

type User added in v0.9.0

type User struct {
	ID       config.UserID
	Username string
	Role     config.Role
}

Jump to

Keyboard shortcuts

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