client

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultClient core.API

DefaultClient ...

Functions

func Add

func Add(ctx context.Context, req *core.AddReq) (resp *core.AddResp, err error)

Add ...

func DataStorePinLs

func DataStorePinLs(ctx context.Context, req *core.DataStoreReq) (resp *core.DataStoreResp, err error)

DataStorePinLs ...

func ID

func ID(ctx context.Context, req *core.IDReq) (resp *core.IDResp, err error)

ID ...

func InitGlobalClient

func InitGlobalClient(cfg *config.Config)

InitGlobalClient ...

func New

func New(cfg *config.Config) core.API

New ...

func NodeAddrInfo

func NodeAddrInfo(ctx context.Context, req *core.AddrReq) (*core.AddrResp, error)

NodeAddrInfo ...

func NodeLink(ctx context.Context, req *core.NodeLinkReq) (resp *core.NodeLinkResp, err error)

NodeLink ...

func NodeList

func NodeList(ctx context.Context, req *core.NodeListReq) (resp *core.NodeListResp, err error)

NodeList ...

func Ping

func Ping(ctx context.Context, req *core.PingReq) (resp *core.PingResp, err error)

Ping ...

func UploadFile

func UploadFile(ctx context.Context, req *core.UploadReq) (resp *core.UploadResp, err error)

UploadFile ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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