types

package
v0.0.0-...-8f6a859 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2013 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Metadata    Info ",omitempty"
	Md5         string
	ChunkSize   int
	UploadDate  time.Time
	Length      int64
	Filename    string ",omitempty"
	ContentType string "contentType,omitempty"
}

func (*File) IsAudio

func (f *File) IsAudio() bool

func (*File) IsImage

func (f *File) IsImage() bool

func (*File) IsVideo

func (f *File) IsVideo() bool

func (*File) SetContentType

func (f *File) SetContentType()

type IdCount

type IdCount struct {
	Id    string "_id"
	Value int
}

Structure used for collecting values from mongo for a tag cloud

type Info

type Info struct {
	Keywords  []string // tags
	Ip        string   // who uploaded it
	Random    int64
	TimeStamp time.Time "timestamp,omitempty"
}

Jump to

Keyboard shortcuts

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