server

package
v0.0.0-...-ebb4502 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2015 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(thymePath string)

Types

type Photo

type Photo struct {
	Aperture      sql.NullFloat64
	Camera        sql.NullString
	ExposureComp  sql.NullInt64
	ExposureTime  sql.NullFloat64
	Flash         sql.NullString
	FocalLength   sql.NullFloat64
	FocalLength35 sql.NullInt64
	Height        int64
	ISO           sql.NullInt64
	Id            int
	Lat           sql.NullFloat64
	Lens          sql.NullString
	Lng           sql.NullFloat64
	NextPhotoId   sql.NullInt64
	Path          string
	PrevPhotoId   sql.NullInt64
	SetId         int
	Size          int
	TakenAt       sql.NullString
	Width         int64
}

func (*Photo) AspectRatio

func (p *Photo) AspectRatio() [2]int64

func (*Photo) BigThumbHeight

func (p *Photo) BigThumbHeight() int64

func (*Photo) BigThumbWidth

func (p *Photo) BigThumbWidth() int64

func (*Photo) Filename

func (p *Photo) Filename() string

func (*Photo) MarshalJSON

func (p *Photo) MarshalJSON() ([]byte, error)

func (*Photo) Orientation

func (p *Photo) Orientation() string

func (*Photo) ThumbURL

func (p *Photo) ThumbURL(suffix string) string

type Set

type Set struct {
	Id             int
	Name           string
	PhotosCount    int
	TakenAt        sql.NullString
	ThumbPhotoId   int
	ThumbPhotoPath string
}

func (*Set) MarshalJSON

func (s *Set) MarshalJSON() ([]byte, error)

func (*Set) ThumbURL

func (s *Set) ThumbURL() string

Jump to

Keyboard shortcuts

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