index

package
v0.0.0-...-bfcf95a Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cmd = cobra.Command{
		Use:   "archive",
		Short: "EDGAR index files",
	}
)

Functions

This section is empty.

Types

type Download

type Download struct {
	// contains filtered or unexported fields
}

func NewDownload

func NewDownload(client *client.Client, st Storage) *Download

func (*Download) Download

func (self *Download) Download(path string) error

func (*Download) NeedFile

func (self *Download) NeedFile(fname string) bool

func (*Download) WithNeedFiles

func (self *Download) WithNeedFiles(needFiles []string) *Download

func (*Download) WithProcsLimit

func (self *Download) WithProcsLimit(lim int) *Download

type Storage

type Storage interface {
	Save(path, fname string, r io.Reader) error
}

Jump to

Keyboard shortcuts

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