Documentation ¶
Index ¶
- func Publisher(config google.Config, precheck GooglePrecheckScenario, ...) google.Publisher
- func Submitter(config indexnow.Config, precheck IndexNowPrecheckScenario, ...) indexnow.Submitter
- type GooglePrecheckScenario
- type GooglePublishScenario
- type IndexNowPrecheckScenario
- type IndexNowSubmitScenario
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
func Submitter( config indexnow.Config, precheck IndexNowPrecheckScenario, submit IndexNowSubmitScenario, ) indexnow.Submitter
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 IndexNowSubmitScenario ¶ added in v1.0.4
type IndexNowSubmitScenario func(request indexnow.SubmitInput) (err error)
Click to show internal directories.
Click to hide internal directories.