Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.1.9"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeConfig ¶
NodeConfig is used to configure the node
type TextileNode ¶
TextileNode is the main node interface for textile functionality
var Node *TextileNode
Node is the single TextileNode instance
func NewNode ¶
func NewNode(config NodeConfig) (*TextileNode, string, error)
NewNode creates a new TextileNode
func (*TextileNode) GetGatewayAddr ¶
func (t *TextileNode) GetGatewayAddr() string
GetGatewayAddr returns the gateway's address
func (*TextileNode) StartGateway ¶
func (t *TextileNode) StartGateway(addr string)
StartGateway starts the gateway
func (*TextileNode) StartWallet ¶
func (t *TextileNode) StartWallet() error
StopWallet starts the wallet
func (*TextileNode) StopGateway ¶
func (t *TextileNode) StopGateway() error
StopGateway stops the gateway
func (*TextileNode) StopWallet ¶
func (t *TextileNode) StopWallet() error
StopWallet stops the wallet
Click to show internal directories.
Click to hide internal directories.