slowquery

package
v1.2206.0-pre1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	LogFilePath string
	APName      string
}

type SlowQuery

type SlowQuery struct{}

func New

func New(params *Params, l *logrus.Entry, c *scanner.Client) (*SlowQuery, error)

func (*SlowQuery) Run

func (s *SlowQuery) Run(ctx context.Context) error

func (*SlowQuery) SQLs

func (sq *SlowQuery) SQLs() <-chan scanners.SQL

func (*SlowQuery) Upload

func (sq *SlowQuery) Upload(ctx context.Context, sqls []scanners.SQL) error

Jump to

Keyboard shortcuts

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