zsearchclient

package
v2.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZSearchClient

type ZSearchClient struct {
	// contains filtered or unexported fields
}

func NewZSearchClient

func NewZSearchClient(service, baseUrl, jwtKey, jwtAlg string, certSkipVerify bool, jwtTimeout time.Duration, log zLogger.ZLogger) (*ZSearchClient, error)

func (*ZSearchClient) BuildSitemap

func (zsc *ZSearchClient) BuildSitemap() error

func (*ZSearchClient) ClearCache

func (zsc *ZSearchClient) ClearCache() error

func (*ZSearchClient) LastUpdate

func (zsc *ZSearchClient) LastUpdate(prefix string) (time.Time, error)

func (*ZSearchClient) Ping

func (zsc *ZSearchClient) Ping() error

func (*ZSearchClient) SignatureCreate

func (zsc *ZSearchClient) SignatureCreate(data *search.SourceData) error

func (*ZSearchClient) SignaturesClear

func (zsc *ZSearchClient) SignaturesClear(prefix string) (int64, error)

Jump to

Keyboard shortcuts

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