Documentation ¶
Index ¶
- func Alive(announcetime time.Duration) []node.Option
- func AvailableNodes(b *blockchain.Ledger) (active []string)
- func ConnectToService(ctx context.Context, ledger *blockchain.Ledger, node *node.Node, ...) error
- func ReceiveFile(ctx context.Context, ledger *blockchain.Ledger, n *node.Node, ...) error
- func RegisterService(ll log.StandardLogger, announcetime time.Duration, ...) []node.Option
- func ShareFile(ll log.StandardLogger, announcetime time.Duration, fileID, filepath string) ([]node.Option, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvailableNodes ¶ added in v0.7.2
func AvailableNodes(b *blockchain.Ledger) (active []string)
func ConnectToService ¶
func ReceiveFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.