quickdb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 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