Documentation ¶
Index ¶
- Variables
- type HTTPStorage
- func (s *HTTPStorage) Headers(filepath string) (map[string]string, error)
- func (s *HTTPStorage) HeadersFromURL(u *url.URL) (map[string]string, error)
- func (s *HTTPStorage) ModifiedTime(filepath string) (time.Time, error)
- func (s *HTTPStorage) Open(filepath string) (gostorages.File, error)
- func (s *HTTPStorage) OpenFromURL(u *url.URL) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var HeaderKeys = []string{
"Age",
"Content-Type",
"Last-Modified",
"Date",
"Etag",
}
Functions ¶
This section is empty.
Types ¶
type HTTPStorage ¶
type HTTPStorage struct {
gostorages.Storage
}
func (*HTTPStorage) Headers ¶
func (s *HTTPStorage) Headers(filepath string) (map[string]string, error)
func (*HTTPStorage) HeadersFromURL ¶
func (*HTTPStorage) ModifiedTime ¶
func (s *HTTPStorage) ModifiedTime(filepath string) (time.Time, error)
func (*HTTPStorage) Open ¶
func (s *HTTPStorage) Open(filepath string) (gostorages.File, error)
func (*HTTPStorage) OpenFromURL ¶
func (s *HTTPStorage) OpenFromURL(u *url.URL) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.