mock

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Publisher

func Publisher(
	config google.Config,
	precheck GooglePrecheckScenario,
	publish GooglePublishScenario,
) google.Publisher

func Submitter added in v1.0.4

Types

type GooglePrecheckScenario added in v1.0.4

type GooglePrecheckScenario func(request *google.PublishRequest) (skipReason error)

type GooglePublishScenario added in v1.0.4

type GooglePublishScenario func(request google.PublishRequest) (skip bool, err error)

type IndexNowPrecheckScenario added in v1.0.4

type IndexNowPrecheckScenario func(request string) (skipReason error)

type IndexNowSubmitScenario added in v1.0.4

type IndexNowSubmitScenario func(request indexnow.SubmitInput) (err error)

Jump to

Keyboard shortcuts

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