query

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitData

type InitData struct {
	Loaded    chan struct{}
	Queries   []string
	Workspace *workspace.Workspace
	Client    db_common.Client
	Result    *db_common.InitResult

	ShutdownTelemetry func()
	// contains filtered or unexported fields
}

func NewInitData

func NewInitData(ctx context.Context, w *workspace.Workspace, args []string) *InitData

NewInitData creates a new InitData object and returns it it also starts an asynchronous population of the object InitData.Done closes after asynchronous initialization completes

func (*InitData) Cancel

func (i *InitData) Cancel()

func (*InitData) Cleanup

func (i *InitData) Cleanup(ctx context.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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