mysql

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Tag     string
	ShmSize int64
}

type Opt

type Opt func(*Config)

func WithShmSize

func WithShmSize(shmSize int64) Opt

func WithTag

func WithTag(tag string) Opt

type Resource

type Resource struct {
	DBDsn    string
	Database string
	Password string
	User     string
	Host     string
	Port     string
}

func Setup

func Setup(pool *dockertest.Pool, d resource.Cleaner, opts ...func(*Config)) (*Resource, error)

Jump to

Keyboard shortcuts

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