Documentation
¶
Overview ¶
Wrapper for the Gravatar API.
Index ¶
- Constants
- func Available(email string) (ok bool, err error)
- func Hash(email string) string
- func SecureUrl(email string) string
- func SecureUrlDefault(email, defaultURL string) string
- func SecureUrlSize(email string, size int) string
- func SecureUrlSizeDefault(email string, size int, defaultURL string) string
- func Url(email string) string
- func UrlDefault(email, defaultURL string) string
- func UrlSize(email string, size int) string
- func UrlSizeDefault(email string, size int, defaultURL string) string
Constants ¶
View Source
const ( HTTP404 = "404" // do not load any image if none is associated with the email hash, instead return an HTTP 404 (File Not Found) response MysteryMan = "mm" // (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash) IdentIcon = "identicon" // a geometric pattern based on an email hash MonsterID = "monsterid" // a generated 'monster' with different colors, faces, etc Wavatar = "wavatar" // generated faces with differing features and backgrounds Retro = "retro" // awesome generated, 8-bit arcade-style pixelated faces )
Default images (used as defaultURL)
Variables ¶
This section is empty.
Functions ¶
func SecureUrlDefault ¶
func SecureUrlSize ¶
func SecureUrlSizeDefault ¶
func UrlDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.