blobber

package
v1.18.0-RC8 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Provides sdk functions to be used by the blobber.

Index

Constants

View Source
const (
	// EndpointWriteMarkerLock api endpoint of WriteMarkerLock
	EndpointWriteMarkerLock = "/v1/writemarker/lock/"

	// EndpointRootHashnode api endpoint of getting root hashnode of an allocation
	EndpointRootHashnode = "/v1/hashnode/root/"

	// EndpointFileMeta api endpoint of file meta
	EndpointFileMeta = "/v1/file/meta/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Blobber

type Blobber struct {
	BaseURLs []string
	*sdks.ZBox
}

Blobber blobber sdk client instance

func New

func New(zbox *sdks.ZBox, baseURLs ...string) *Blobber

New create an sdk client instance given its configuration

  • zbox zbox sdk client instance
  • baseURLs base urls of the blobber

Jump to

Keyboard shortcuts

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