image

package
v0.0.0-...-dba4764 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2015 License: MIT Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractImagePaths

func ExtractImagePaths(str string) (paths []string, err error)

Types

type FileInfo

type FileInfo struct {
	Filename string
	Url      string
	Ext      string
	Mime     string
	Width    int
	Height   int
}

func NewFileInfo

func NewFileInfo(url string) (*FileInfo, error)

type Info

type Info struct {
	*behavior.UserBehavior
	FileInfo *FileInfo
}

func NewInfo

func NewInfo() *Info

func (*Info) Fetch

func (c *Info) Fetch(url string) (*FileInfo, error)

Jump to

Keyboard shortcuts

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