query

package
v0.22.0-dev.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: AGPL-3.0 Imports: 13 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 {
	initialisation.InitData

	Loaded chan struct{}
	// map of query name to resolved query (key is the query text for command line queries)
	Queries []*modconfig.ResolvedQuery
	// contains filtered or unexported fields
}

func NewInitData

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

NewInitData returns a new InitData object 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)

Cleanup overrides the initialisation.InitData.Cleanup to provide syncronisation with the loaded channel

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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