gateway

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: MIT Imports: 25 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

type Gateway struct {
	Node *core.Textile
	Bots *bots.Service
	// contains filtered or unexported fields
}

Gateway is a HTTP API for getting files and links from IPFS

var Host *Gateway

Host is the instance used by the daemon

func (*Gateway) Addr

func (g *Gateway) Addr() string

Addr returns the gateway's address

func (*Gateway) Start

func (g *Gateway) Start(addr string)

Start creates a gateway server

func (*Gateway) Stop

func (g *Gateway) Stop() error

Stop stops the gateway

Directories

Path Synopsis
static
css

Jump to

Keyboard shortcuts

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