func NewRoutingRepository(db *sql.DB) repository.RoutingRepository {
	r := &routingRepository{db: db}
	r.Reload()
	return r
}
NewRoutingRepository creates a repository.RoutingRepository which uses
MySQL as a data store.
package mysql
import (
	"database/sql"
	"sync"
	"github.com/fireworq/fireworq/model"
	"github.com/fireworq/fireworq/repository"
)
type routingRepository struct {
	sync.RWMutex
	db       *sql.DB
	routings map[string]string
}