mysql

package
v0.0.0-...-0fdf8e3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSQL

func InitSQL(ctx context.Context) []string

func SetDB

func SetDB(client *gorm.DB)

Types

type Mysql

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

func (Mysql) Description

func (m Mysql) Description() string

func (Mysql) Exists

func (m Mysql) Exists(ctx context.Context, key string) (bool, error)

func (Mysql) IndexName

func (m Mysql) IndexName(ctx context.Context) (string, error)

func (Mysql) Name

func (m Mysql) Name() string

func (*Mysql) SetMetricMetadata

func (m *Mysql) SetMetricMetadata(ctx context.Context, data define.MetricMetadata) error

func (Mysql) Write

func (m Mysql) Write(ctx context.Context, data define.OutputData) error

Jump to

Keyboard shortcuts

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