Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCacheDir ¶
func GetCacheDir() string
func GetCacheLocation ¶
func GetCacheWriter ¶
func GetCacheWriter(source io.ReadCloser, cachedir string, resource *url.URL) io.ReadCloser
Types ¶
type CacheWriter ¶
func (*CacheWriter) Close ¶
func (cw *CacheWriter) Close() error
type DefaultReader ¶
type DefaultReader struct{}
func (DefaultReader) GetURL ¶
func (d DefaultReader) GetURL(u *url.URL) (body io.ReadCloser, statuscode int, err error)
func (DefaultReader) HasVisited ¶
func (d DefaultReader) HasVisited(u *url.URL) bool
Click to show internal directories.
Click to hide internal directories.