syncmysport

package
v0.0.0-...-389db3d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SyncTaskJob = "SyncTasks" // SyncTasks queue name

	QueTableSQL = ``

	// QueTableSQL to create table idempotently
	/* 468-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func GetPgxPool

func GetPgxPool(dbURL string) (*pgx.ConnPool, error)

GetPgxPool based on the provided database URL

func Setup

func Setup(dbURL string) (*pgx.ConnPool, *que.Client, error)

Setup a *pgx.ConnPool and *que.Client This is here so that setup routines can easily be shared between web and workers

Types

This section is empty.

Jump to

Keyboard shortcuts

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