Documentation
¶
Index ¶
- Constants
- Variables
- func Factory(options ...option) store.Factory
- func Host(host string) option
- func New(options ...option) (store.URLDataStore, error)
- func Password(password string) option
- func Port(port int) option
- func Username(username string) option
- type Charset
- type Config
- type Location
- type Store
Constants ¶
View Source
const ( Utf8mb4 Charset = "utf8mb4" UTC Location = "UTC" DefaultPort = 3306 )
Variables ¶
View Source
var (
DefaultTimeout = 10 * time.Second
)
Functions ¶
func New ¶
func New(options ...option) (store.URLDataStore, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.