adderutils

package
v0.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package adderutils provides some utilities for adding content to cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMultipartHTTPHandler

func AddMultipartHTTPHandler(
	ctx context.Context,
	rpc *rpc.Client,
	params *api.AddParams,
	reader *multipart.Reader,
	w http.ResponseWriter,
) (cid.Cid, error)

AddMultipartHTTPHandler is a helper function to add content uploaded using a multipart request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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