file

package
v0.0.0-...-197a5f8 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UniqueFileId

func UniqueFileId() string

Types

type File

type File struct {
	Meta          *Meta `json:"meta"`
	io.ReadCloser `json:"-"`
}

type Meta

type Meta struct {
	Id          string `json:"id,omitempty" description:"unique file id"`
	Name        string `json:"name"`
	Size        int    `json:"size,omitempty"`
	ContentType string `json:"contentType"`
}

Jump to

Keyboard shortcuts

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