structs

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: GPL-3.0 Imports: 2 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 QError added in v0.23.0

type QError struct {
	Error string `json:"error"`
}

type QMeta added in v0.17.2

type QMeta struct {
	Trace        trace.Trace `json:"trace"`
	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
	State     QueryState
	CreatedAt string
}

type QueryState added in v0.23.0

type QueryState string
const (
	QueryStateNew       QueryState = "new"
	QueryStateFailed    QueryState = "failed"
	QueryStateCompleted QueryState = "completed"
)

func (QueryState) S added in v0.23.0

func (s QueryState) S() 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