identicon

package
v0.131.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: MPL-2.0, MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Width  = 50
	Height = 50
)

Variables

This section is empty.

Functions

func Generate added in v0.94.0

func Generate(id string) ([]byte, error)

func GenerateBase64

func GenerateBase64(id string) (string, error)

GenerateBase64 generates an identicon in base64 png format given a string

Types

type Identicon

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

Jump to

Keyboard shortcuts

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