mysql

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *database.Config) (database.Database, error)

Types

type Driver

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

func (Driver) Exec

func (d Driver) Exec(script string) error

func (Driver) Insert

func (d Driver) Insert(cat, ver string, name string, desc string, checksum string) (*database.Row, error)

func (Driver) Read

func (d Driver) Read(cat string) ([]*database.Row, error)

func (Driver) Update

func (d Driver) Update(seq uint64, execTime uint32, success bool) error

Jump to

Keyboard shortcuts

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