dryrun

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	ID            string
	Host          string
	Database      string
	Query         string
	Kind          string
	Tables        []string
	ExplainResult string
	EstimatedRows int64
	CreatedAt     time.Time
	ExpiresAt     time.Time
}

type Store

type Store struct {
	// contains filtered or unexported fields
}

func NewStore

func NewStore(timeout time.Duration) *Store

func (*Store) Add

func (s *Store) Add(host, database, query, kind string, tables []string, explainResult string, estimatedRows int64) string

func (*Store) Get

func (s *Store) Get(id string) (*Entry, error)

func (*Store) Remove

func (s *Store) Remove(id string)

Jump to

Keyboard shortcuts

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