simple

package
v0.0.0-...-e03548b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpWgetLoader

type HttpWgetLoader struct {
	Url string

	Error error
	// contains filtered or unexported fields
}

func NewHttpWgetLoader

func NewHttpWgetLoader(url string, resultCollector chan int64) *HttpWgetLoader

func (*HttpWgetLoader) Load

func (h *HttpWgetLoader) Load(ctx context.Context)

func (*HttpWgetLoader) Prepare

func (h *HttpWgetLoader) Prepare(ctx context.Context) error

type LoadManager

type LoadManager struct {
	Loaders []concurrentload.Loader
}

func (*LoadManager) LoadAll

func (s *LoadManager) LoadAll(ctx context.Context) error

func (*LoadManager) Register

func (s *LoadManager) Register(loader concurrentload.Loader)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL