feedstore

package
v0.0.0-...-2cda34f Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeedStore

type FeedStore struct {
	Client *http.Client
	// contains filtered or unexported fields
}

func NewFeedStore

func NewFeedStore(host string, port int, tls, pin bool, batch, owner string) (*FeedStore, error)

func (*FeedStore) Close

func (f *FeedStore) Close() error

func (*FeedStore) Get

func (f *FeedStore) Get(ctx context.Context, md storage.ModeGet, address swarm.Address) (swarm.Chunk, error)

func (*FeedStore) Put

func (f *FeedStore) Put(ctx context.Context, md storage.ModePut, chs ...swarm.Chunk) (exists []bool, err error)

Jump to

Keyboard shortcuts

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