mysql

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dsn

func Dsn() string

Dsn returns the data source name of the storage specified in the configuration.

func NewDB

func NewDB() (*sql.DB, error)

NewDB creates an instance of DB handler.

func NewQueueRepository

func NewQueueRepository(db *sql.DB) repository.QueueRepository

NewQueueRepository creates a repository.QueueRepository which uses MySQL as a data store.

func NewRoutingRepository

func NewRoutingRepository(db *sql.DB) repository.RoutingRepository

NewRoutingRepository creates a repository.RoutingRepository which uses MySQL as a data store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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