metadata

package
v0.0.0-...-fae07df Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2016 License: MIT Imports: 4 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 Metadata

type Metadata struct {
	Name       string            `json:"name"`
	CreatedAt  time.Time         `json:"created_at"`
	ModifiedAt time.Time         `json:"modified_at"`
	Size       int               `json:"size"`
	Headers    map[string]string `json:"headers"`
	Checksum   string            `json:"checksum"`
}

func New

func (*Metadata) ContentType

func (m *Metadata) ContentType() string

Jump to

Keyboard shortcuts

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