rcali

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEBUG = Debug("")

Functions

func EmptyIamge

func EmptyIamge(width, height int) image.Image

func FileExists

func FileExists(path string) (bool, error)

func GetBooksPath

func GetBooksPath() (string, bool)

func GetSqliteDbPath

func GetSqliteDbPath() (string, bool)

func JpegImage2Bytes

func JpegImage2Bytes(img image.Image) []byte

func ResizeImage

func ResizeImage(width, height uint, img image.Image) image.Image

Types

type Circle

type Circle struct {
	X, Y, R float64
}

func (*Circle) Brightness

func (c *Circle) Brightness(x, y float64) uint8

type Debug

type Debug string

func (Debug) Debug

func (d Debug) Debug(a ...interface{})

type FILE

type FILE []byte

func (FILE) Apply

func (i FILE) Apply(req *revel.Request, resp *revel.Response)

type IMGJPG

type IMGJPG []byte

func (IMGJPG) Apply

func (i IMGJPG) Apply(req *revel.Request, resp *revel.Response)

Jump to

Keyboard shortcuts

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