initials

package
v0.0.0-...-4b98c26 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Image

func Image(publicName string, opts ...Options) ([]byte, string, error)

Image returns an image with the initials for the given name (and the content-type to use for the HTTP response).

Types

type Options

type Options int

Options can be used to give options for the generated image

const (

	// GreyBackground is an option to force a grey background
	GreyBackground Options = 1 + iota
)

Jump to

Keyboard shortcuts

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