Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.2.0
type Option interface {
// contains filtered or unexported methods
}
Option is a function that applies an option to the avatar service.
type Options ¶ added in v0.2.0
type Options struct { // Size of the rendered avatar. Size int // Padding between the rendered avatar and the border. Padding int }
Options for the avatar service.
type Padding ¶ added in v0.2.0
type Padding int
Padding sets the padding between the rendered avatar and the border.
type RenderSize ¶ added in v0.2.0
type RenderSize int
RenderSize sets the size of the rendered avatar in pixels.
Click to show internal directories.
Click to hide internal directories.