gatomemes

package
v0.0.0-...-db727bb Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNew

func CreateNew(chaos bool) (string, error)

func CreateNewFromSrc

func CreateNewFromSrc(src string, text string, opt *Options) ([]byte, error)

func GenerateUUID

func GenerateUUID() string

func GetFontNames

func GetFontNames() []string

func GetImage

func GetImage(key string) ([]byte, error)

func GetRandomImageID

func GetRandomImageID() (string, error)

func GetUserInfo

func GetUserInfo(sessionKey string) (result map[string]interface{}, err error)

func HandleLogin

func HandleLogin(request *http.Request, identity string) (string, string, error)

func IsValidID

func IsValidID(id string) (bool, error)

func LogOff

func LogOff(sessionKey string)

Types

type Options

type Options struct {
	FontIndex      int64
	FontScale      int64
	FontColor      string
	OutlineColor   string
	OutlineScale   int64
	DisableOutline bool
	Distort        bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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