http

package
v0.0.0-...-c800278 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 (s *HTTPStorage) HeadersFromURL(u *url.URL) (map[string]string, error)

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)

Jump to

Keyboard shortcuts

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