indexcachetest

package
v5.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GetIndexError    error
	GetIndexResponse *indexcache.Index
}

type Resource

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

func New

func New(config Config) *Resource

func (*Resource) GetIndex

func (r *Resource) GetIndex(ctx context.Context, url string) (*indexcache.Index, error)

Jump to

Keyboard shortcuts

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