status

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ContentError = "cant-fetch-content"
View Source
const LoginError = "login"
View Source
const Ok = "ok"
View Source
const TargetError = "bad-target"

Variables

This section is empty.

Functions

func PublishSchemeError

func PublishSchemeError(ctx context.Context, msg *SchemeErrorMessage)

func PublishSchemeStatus

func PublishSchemeStatus(ctx context.Context, msg *ScrapeSchemeMessage)

func SetupPubsub

func SetupPubsub(projectId string)

Types

type SchemeErrorMessage

type SchemeErrorMessage struct {
	Code          string
	Message       string
	Site          string
	SchemeVersion string
}

type ScrapeSchemeMessage

type ScrapeSchemeMessage struct {
	SchemeVersion string
	Site          string
	Code          string
	ResultsFound  int
}

Jump to

Keyboard shortcuts

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