core

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: MIT Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RepoPath string

	AddrApi         ma.Multiaddr
	AddrApiProxy    ma.Multiaddr
	AddrThreadsHost ma.Multiaddr
	AddrIpfsApi     ma.Multiaddr
	AddrGatewayHost ma.Multiaddr
	AddrGatewayUrl  string
	AddrFilecoinApi ma.Multiaddr
	AddrMongoUri    string

	MongoName string

	DNSDomain string
	DNSZoneID string
	DNSToken  string

	EmailFrom   string
	EmailDomain string
	EmailApiKey string

	SessionSecret string

	Debug bool
}

type Textile

type Textile struct {
	// contains filtered or unexported fields
}

func NewTextile

func NewTextile(ctx context.Context, conf Config) (*Textile, error)

func (*Textile) Bootstrap

func (t *Textile) Bootstrap()

func (*Textile) Close

func (t *Textile) Close() error

func (*Textile) HostID

func (t *Textile) HostID() peer.ID

Jump to

Keyboard shortcuts

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