httpapi

package module
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: MIT Imports: 4 Imported by: 67

README

go-ipfs-http-api

⚠️ This package is no longer being maintained here. ⚠️

It has been moved into kubo's repo at github.com/ipfs/kubo/client/rpc.

This allows that any updates or change to kubo's coreapi is immediately reflected on the client too.

License

MIT

Documentation

Overview

Deprecated: This repo has moved inside Kubo in order to make it easier to keep kubo and the http-client in sync, please use github.com/ipfs/kubo/client/rpc instead.

Index

Constants

View Source
const DefaultApiFile = rpc.DefaultApiFile

Deprecated: use rpc.DefaultApiFile instead.

View Source
const DefaultPathName = rpc.DefaultPathName

Deprecated: use rpc.DefaultPathName instead.

View Source
const DefaultPathRoot = rpc.DefaultPathRoot

Deprecated: use rpc.DefaultPathRoot instead.

View Source
const EnvDir = rpc.EnvDir

Deprecated: use rpc.EnvDir instead.

Variables

View Source
var ErrApiNotFound = rpc.ErrApiNotFound

Deprecated: use rpc.ErrApiNotFound instead.

Functions

func ApiAddr deprecated

func ApiAddr(ipfspath string) (ma.Multiaddr, error)

Deprecated: use rpc.ApiAddr instead.

Types

type BlockAPI deprecated

type BlockAPI = rpc.BlockAPI

Deprecated: use rpc.BlockAPI instead.

type DhtAPI deprecated

type DhtAPI = rpc.DhtAPI

Deprecated: use rpc.DhtAPI instead.

type Error deprecated

type Error = rpc.Error

Deprecated: use rpc.Error instead.

type HttpApi deprecated

type HttpApi = rpc.HttpApi

Deprecated: use rpc.HttpApi instead.

func NewApi deprecated

func NewApi(a ma.Multiaddr) (*HttpApi, error)

Deprecated: use rpc.NewApi instead.

func NewApiWithClient deprecated

func NewApiWithClient(a ma.Multiaddr, c *http.Client) (*HttpApi, error)

Deprecated: use rpc.NewApiWithClient instead.

func NewLocalApi deprecated

func NewLocalApi() (*HttpApi, error)

Deprecated: use rpc.NewLocalApi instead.

func NewPathApi deprecated

func NewPathApi(ipfspath string) (*HttpApi, error)

Deprecated: use rpc.NewPathApi instead.

func NewURLApiWithClient deprecated added in v0.0.2

func NewURLApiWithClient(url string, c *http.Client) (*HttpApi, error)

Deprecated: use rpc.NewURLApiWithClient instead.

type HttpDagServ deprecated

type HttpDagServ = rpc.HttpDagServ

Deprecated: use rpc.HttpDagServ instead.

type KeyAPI deprecated

type KeyAPI = rpc.KeyAPI

Deprecated: use rpc.KeyAPI instead.

type NameAPI deprecated

type NameAPI = rpc.NameAPI

Deprecated: use rpc.NameAPI instead.

type ObjectAPI deprecated

type ObjectAPI = rpc.ObjectAPI

Deprecated: use rpc.ObjectAPI instead.

type PinAPI deprecated

type PinAPI = rpc.PinAPI

Deprecated: use rpc.PinAPI instead.

type PubsubAPI deprecated

type PubsubAPI = rpc.PubsubAPI

Deprecated: use rpc.PubsubAPI instead.

type Request deprecated

type Request = rpc.Request

Deprecated: use rpc.Request instead.

func NewRequest deprecated

func NewRequest(ctx context.Context, url, command string, args ...string) *Request

Deprecated: use rpc.NewRequest instead.

type RequestBuilder deprecated

type RequestBuilder = rpc.RequestBuilder

Deprecated: use rpc.RequestBuilder instead.

type Response deprecated

type Response = rpc.Response

Deprecated: use rpc.Response instead.

type RoutingAPI deprecated added in v0.5.0

type RoutingAPI = rpc.RoutingAPI

Deprecated: use rpc.RoutingAPI instead.

type SwarmAPI deprecated

type SwarmAPI = rpc.SwarmAPI

Deprecated: use rpc.SwarmAPI instead.

type UnixfsAPI deprecated

type UnixfsAPI = rpc.UnixfsAPI

Deprecated: use rpc.UnixfsAPI instead.

Jump to

Keyboard shortcuts

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