core

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 27 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
	AddrThreadsHost            ma.Multiaddr
	AddrThreadsServiceApi      ma.Multiaddr
	AddrThreadsServiceApiProxy ma.Multiaddr
	AddrThreadsApi             ma.Multiaddr
	AddrThreadsApiProxy        ma.Multiaddr
	AddrIpfsApi                ma.Multiaddr
	AddrGatewayHost            ma.Multiaddr
	AddrGatewayUrl             string
	AddrGatewayBucketDomain    string
	AddrFilecoinApi            ma.Multiaddr

	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