cache

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltStore added in v0.9.0

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

func NewBoltStore added in v0.9.0

func NewBoltStore(file string) *BoltStore

func (*BoltStore) Close added in v0.9.0

func (s *BoltStore) Close()

func (*BoltStore) Get added in v0.9.0

func (s *BoltStore) Get(key string) ([]byte, bool)

func (*BoltStore) Set added in v0.9.0

func (s *BoltStore) Set(key string, value []byte)

type Module

type Module struct {
	Cache string `json:"cache"`
	// contains filtered or unexported fields
}

func (*Module) AdaptTransport

func (m *Module) AdaptTransport(t http.RoundTripper) http.RoundTripper

func (*Module) Finalize

func (m *Module) Finalize()

func (Module) ModuleInfo

func (Module) ModuleInfo() flyscrape.ModuleInfo

func (*Module) Provision

func (m *Module) Provision(ctx flyscrape.Context)

type Store

type Store interface {
	Get(key string) ([]byte, bool)
	Set(key string, value []byte)
}

Jump to

Keyboard shortcuts

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