options

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Apache-2.0, MIT, Apache-2.0, + 1 more 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 {
	InputEnc string
	Kind     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