client

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpClient

func NewHttpClient() fx.Option

NewHttpClient creates an http client for calling ipfs http api reads os.Args[1] for ipfs "HOST:PORT" Default is "localhost:5001"

Types

type HttpClient

type HttpClient struct {
	Client *http.Client
	Base   string
}

Jump to

Keyboard shortcuts

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