quickdb

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 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 added in v1.24.0

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