quickdb

package
v0.0.0-...-1448b23 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClosestRegion

func GetClosestRegion() string

func MySQLReformatURI

func MySQLReformatURI(original string) (string, error)

The database URI returned by the QuickDB service isn't understood by the go-mysql-driver

func NewClient

func NewClient(project, token string, opts ...Option) (pb.QuickClient, error)

func NewClientFromConfig

func NewClientFromConfig(cloudConfig config.Cloud) (pb.QuickClient, error)

Types

type Option

type Option func(*options)

func WithHost

func WithHost(host string) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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