indexcachetest

package
v6.6.0-patch1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 3 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 MapResource added in v6.0.1

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

func NewMap added in v6.0.1

func NewMap(config map[string]Config) *MapResource

func (*MapResource) GetIndex added in v6.0.1

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

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