Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var User = MediaType("application/vnd.User+json", func() { Description("Response Type for a GitHub User's list of public SSH Keys") Attribute("username", String, "The username of the GitHub user.", func() { Example("myname") }) Attribute("keys", ArrayOf(UserKey), "The list of the Github user's public SSH keys.", func() { NoExample() }) Required("username", "keys") View("default", func() { Attribute("username") Attribute("keys") }) })
User ...
View Source
var UserKey = Type("UserKey", func() {
Description("Type for a GitHub user's public SSH Key")
Attribute("id", Integer, "The ID of the public SSH key on GitHub.", func() {
Example(12345)
})
Attribute("key", String, "The public SSH key", func() {
Example("ssh-rsa ABC123 ...")
})
Required("id", "key")
})
UserKey is the type that represents a Github user's public SSH Key
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.