options

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dag dagOpts

Functions

This section is empty.

Types

type DagPutOption

type DagPutOption func(opts *DagPutSettings) error

DagPutOption is a single DagPut option.

type DagPutSettings

type DagPutSettings struct {
	InputCodec string
	StoreCodec string
	Pin        string
	Hash       string
}

DagPutSettings is a set of DagPut options.

func DagPutOptions

func DagPutOptions(opts ...DagPutOption) (*DagPutSettings, error)

DagPutOptions applies the given options to a DagPutSettings instance.

Jump to

Keyboard shortcuts

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