Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Favicon ¶
type Favicon string
Favicon is 64x64 sized data uri image send in response to a server list ping. Refer to https://en.wikipedia.org/wiki/Data_URI_scheme for details. Example: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAABCAYAAABubagXAAAAEElEQVR42mP8z8BQzzCCAQB+lAGA+H8KEAAAAABJRU5ErkJggg=="
func FromBytes ¶ added in v0.27.0
FromBytes takes base64 bytes encoding of an image and converts it to Favicon.
func (*Favicon) UnmarshalJSON ¶ added in v0.31.0
UnmarshalJSON implements json.Unmarshaler.
func (*Favicon) UnmarshalYAML ¶ added in v0.31.0
UnmarshalYAML implements yaml.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.