libcats

package module
v0.0.0-...-069fc73 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2015 License: Apache-2.0 Imports: 18 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cachePath string)

Types

type CallbackToken

type CallbackToken struct {
	// contains filtered or unexported fields
}

func CreateMetaDataCallback

func CreateMetaDataCallback(callback MetaDataCallback, lastPost string) *CallbackToken

func (*CallbackToken) Close

func (token *CallbackToken) Close()

func (*CallbackToken) LoadNextBatch

func (token *CallbackToken) LoadNextBatch()

type ImageCallback

type ImageCallback interface {
	ImageReceived(image []byte, id string)
	ImageFailed(id string)
}

type ImageCallbackToken

type ImageCallbackToken struct {
	// contains filtered or unexported fields
}

func CreateImageCallback

func CreateImageCallback(callback ImageCallback, width int, height int, id string, url string) *ImageCallbackToken

func (*ImageCallbackToken) Close

func (token *ImageCallbackToken) Close()

type ImageInfo

type ImageInfo struct {
	Id    string
	Image []byte
}

type ImageMetaData

type ImageMetaData struct {
	Url       string
	Title     string
	Author    string
	Permalink string
	Id        string
}

type MetaDataCallback

type MetaDataCallback interface {
	MetaDataReceived(url string, title string, author string, permalink string, id string)
}

Jump to

Keyboard shortcuts

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