mysqldb

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create() dbrepo.Repository

Types

type MysqlRepository

type MysqlRepository struct {
	Now func() time.Time
	// contains filtered or unexported fields
}

func (*MysqlRepository) Close

func (r *MysqlRepository) Close()

func (*MysqlRepository) Migrate

func (r *MysqlRepository) Migrate() error

func (*MysqlRepository) Open

func (r *MysqlRepository) Open() error

func (*MysqlRepository) WriteProtocolEntry

func (r *MysqlRepository) WriteProtocolEntry(ctx context.Context, e *entity.ProtocolEntry) error

Jump to

Keyboard shortcuts

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