filepath

package
v0.0.0-...-7f730dc Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilePath

type FilePath struct {
	FilePath chan string
	// contains filtered or unexported fields
}

FilePath turns a single date path into the paths of all

relevant files for that date

func (*FilePath) ChannelListener

func (fP *FilePath) ChannelListener(client *http.Client)

ChannelListener should be run in a goroutine and will receive paths on the FilePath

channel.  It will retrieve the data for that path and save it to a file in the
location specified.  Once the channel is closed, the goroutine exits

func (*FilePath) Done

func (fP *FilePath) Done()

Done will close the DatePath channel, signalling that we are done

func (*FilePath) Init

func (fP *FilePath) Init(output string)

Init will create all channels

Jump to

Keyboard shortcuts

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