moz_tech

package
v0.0.0-...-974d401 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2017 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScanSkillsJob = "IndexRequests"
	ScanJobsJob   = "ScanJobs"
)

Variables

This section is empty.

Functions

func GetConfigVars

func GetConfigVars() (string, string)

func GetPgxPool

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

GetPgxPool based on the provided database URL

func NewAppConfig

func NewAppConfig(file string) *structures.Dictionary

func SetupDb

func SetupDb(dbUrl string) (*pgx.ConnPool, *que.Client, error)

Types

type ScanJobsRequest

type ScanJobsRequest struct {
	Keywords string
	State    string
	City     string
}

type ScanSkillsRequest

type ScanSkillsRequest struct {
	URL string `json:"url"`
}

Jump to

Keyboard shortcuts

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