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
Click to show internal directories.
Click to hide internal directories.