Documentation ¶
Index ¶
- func ConnectToService(ctx context.Context, ledger *blockchain.Ledger, node *node.Node, ...) error
- func ExposeService(ctx context.Context, ledger *blockchain.Ledger, n *node.Node, ...)
- func ReceiveFile(ctx context.Context, ledger *blockchain.Ledger, n *node.Node, ...) error
- func ShareFile(ctx context.Context, ledger *blockchain.Ledger, n *node.Node, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToService ¶
func ExposeService ¶
func ExposeService(ctx context.Context, ledger *blockchain.Ledger, n *node.Node, l log.StandardLogger, announcetime time.Duration, serviceID, dstaddress string)
ExposeService exposes a service to the p2p network. meant to be called before a node is started with Start()
func ReceiveFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.