util

package
v0.0.0-...-3791a9b Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DevNull = nopWriter{}

DevNull is a special device.

Functions

func EncodeImage

func EncodeImage(writer io.Writer, img image.Image, format string, quality float32) error

EncodeImage ...

func LoadImage

func LoadImage(fname string) ([]byte, image.Image, error)

LoadImage ...

func RandString

func RandString(n int) string

RandString ...

func ShutdownTest

func ShutdownTest()

ShutdownTest ...

func StartupTest

func StartupTest()

StartupTest ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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