Documentation ¶
Index ¶
- Constants
- Variables
- type Listener
- func (l *Listener) Get(hash string) error
- func (l *Listener) GetDownloads() []Progress
- func (l *Listener) SetDownloadFinishHook(di func(string))
- func (l *Listener) SetDownloadLocation(dl string)
- func (l *Listener) SetDownloadStartHook(di func(string))
- func (l *Listener) SetID(id string)
- func (l *Listener) SetPeer(p ListenerNode) error
- type ListenerNode
- type Message
- type Progress
- type PubSub
- type Sender
Constants ¶
View Source
const (
Topic = "DropCommunication"
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func (*Listener) GetDownloads ¶
func (*Listener) SetDownloadFinishHook ¶
func (*Listener) SetDownloadLocation ¶
func (*Listener) SetDownloadStartHook ¶
func (*Listener) SetPeer ¶
func (l *Listener) SetPeer(p ListenerNode) error
type ListenerNode ¶
Click to show internal directories.
Click to hide internal directories.