file

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteHttpFile

type RemoteHttpFile struct {
	*vf.VolatileFile
	// contains filtered or unexported fields
}

func New

func New(path string) (*RemoteHttpFile, error)

func NewWithInterval

func NewWithInterval(path string, ttl time.Duration) (*RemoteHttpFile, error)

func (*RemoteHttpFile) Deploy

func (rhf *RemoteHttpFile) Deploy() error

func (*RemoteHttpFile) DoFetch

func (rhf *RemoteHttpFile) DoFetch()

func (*RemoteHttpFile) ReadData

func (rhf *RemoteHttpFile) ReadData() (interface{}, error)

func (*RemoteHttpFile) ReadRawData

func (rhf *RemoteHttpFile) ReadRawData() ([]byte, error)

func (*RemoteHttpFile) TearDown

func (rhf *RemoteHttpFile) TearDown() error

func (*RemoteHttpFile) WrieData

func (rhf *RemoteHttpFile) WrieData(data interface{}) error

Jump to

Keyboard shortcuts

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