Documentation
¶
Overview ¶
Package microbadge contains functions to retrieve and set microbadges.
Index ¶
Constants ¶
View Source
const TotalSlots = 5
Variables ¶
This section is empty.
Functions ¶
func SetAll ¶
SetAll takes a collection of microbadge IDs and sends them to the server to set as the displayed microbadges.
Types ¶
type Microbadge ¶
type Microbadge struct { BadgeNumber uint Name string Category Group Subcategory Group Subsubcategory Group NumberOfOwners uint Mouseover string Creator string Description string ImageFilename string }
func GetAll ¶
func GetAll() (badges []Microbadge, err error)
GetAll returns a collection of all the user's microbadges.
func GetSlot ¶
func GetSlot(slot uint) (mb Microbadge, err error)
GetSlot returns the microbadge in the specified slot.
func (Microbadge) String ¶
func (mb Microbadge) String() string
Directories
¶
Path | Synopsis |
---|---|
Package constraints implements a data structure to describe which microbadges can be shown with in which slots and other constraints.
|
Package constraints implements a data structure to describe which microbadges can be shown with in which slots and other constraints. |
Click to show internal directories.
Click to hide internal directories.