identicon

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identicon

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

func Generate

func Generate(input []byte, hex string, width int, height int) Identicon

Generate is the main entrypoint to creating the identicon

func (Identicon) WriteImage

func (i Identicon) WriteImage(w io.Writer) error

WriteImage writes the identicon image to the given writer

Jump to

Keyboard shortcuts

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