Documentation ¶
Index ¶
- type Labd
- type LabdOption
- func WithDownloaderSettings(settings downloaders.DownloaderSettings) LabdOption
- func WithLibp2pPort(port int) LabdOption
- func WithProvider(provider string) LabdOption
- func WithProviderSettings(settings providers.ProviderSettings) LabdOption
- func WithUploader(uploader string) LabdOption
- func WithUploaderSettings(settings uploaders.UploaderSettings) LabdOption
- type LabdSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LabdOption ¶
type LabdOption func(*LabdSettings) error
func WithDownloaderSettings ¶
func WithDownloaderSettings(settings downloaders.DownloaderSettings) LabdOption
func WithLibp2pPort ¶
func WithLibp2pPort(port int) LabdOption
func WithProvider ¶
func WithProvider(provider string) LabdOption
func WithProviderSettings ¶
func WithProviderSettings(settings providers.ProviderSettings) LabdOption
func WithUploader ¶
func WithUploader(uploader string) LabdOption
func WithUploaderSettings ¶
func WithUploaderSettings(settings uploaders.UploaderSettings) LabdOption
type LabdSettings ¶
type LabdSettings struct { Libp2pPort int Provider string ProviderSettings providers.ProviderSettings Uploader string UploaderSettings uploaders.UploaderSettings DownloaderSettings downloaders.DownloaderSettings }
Click to show internal directories.
Click to hide internal directories.