You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

537 lines
14 KiB

8 years ago
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta name="theme-color" content="#375EAB">
  7. <title>/src/golang.org - The Go Programming Language</title>
  8. <link type="text/css" rel="stylesheet" href="../../lib/godoc/style.css">
  9. <link rel="stylesheet" href="../../lib/godoc/jquery.treeview.css">
  10. <script type="text/javascript">window.initFuncs = [];</script>
  11. </head>
  12. <body>
  13. <div id='lowframe' style="position: fixed; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;">
  14. ...
  15. </div><!-- #lowframe -->
  16. <div id="topbar" class="wide"><div class="container">
  17. <div class="top-heading" id="heading-wide"><a href="http://localhost:6060/">The Go Programming Language</a></div>
  18. <div class="top-heading" id="heading-narrow"><a href="http://localhost:6060/">Go</a></div>
  19. <a href="index.html#" id="menu-button"><span id="menu-button-arrow">&#9661;</span></a>
  20. <form method="GET" action="http://localhost:6060/search">
  21. <div id="menu">
  22. <a href="http://localhost:6060/doc/">Documents</a>
  23. <a href="http://localhost:6060/pkg/">Packages</a>
  24. <a href="http://localhost:6060/project/">The Project</a>
  25. <a href="http://localhost:6060/help/">Help</a>
  26. <a href="http://localhost:6060/blog/">Blog</a>
  27. <input type="text" id="search" name="q" class="inactive" value="Search" placeholder="Search">
  28. </div>
  29. </form>
  30. </div></div>
  31. <div id="page" class="wide">
  32. <div class="container">
  33. <h1>Directory /src/golang.org</h1>
  34. <div id="nav"></div>
  35. <!--
  36. Copyright 2009 The Go Authors. All rights reserved.
  37. Use of this source code is governed by a BSD-style
  38. license that can be found in the LICENSE file.
  39. -->
  40. <!--
  41. Note: Static (i.e., not template-generated) href and id
  42. attributes start with "pkg-" to make it impossible for
  43. them to conflict with generated attributes (some of which
  44. correspond to Go identifiers).
  45. -->
  46. <div class="pkg-dir">
  47. <table>
  48. <tr>
  49. <th class="pkg-name">Name</th>
  50. <th class="pkg-synopsis">Synopsis</th>
  51. </tr>
  52. <tr>
  53. <td colspan="2"><a href="http://localhost:6060/pkg/">..</a></td>
  54. </tr>
  55. <tr>
  56. <td class="pkg-name" style="padding-left: 0px;">
  57. <a href="x/index.html">x</a>
  58. </td>
  59. <td class="pkg-synopsis">
  60. </td>
  61. </tr>
  62. <tr>
  63. <td class="pkg-name" style="padding-left: 20px;">
  64. <a href="x/net/index.html">net</a>
  65. </td>
  66. <td class="pkg-synopsis">
  67. </td>
  68. </tr>
  69. <tr>
  70. <td class="pkg-name" style="padding-left: 40px;">
  71. <a href="x/net/context/index.html">context</a>
  72. </td>
  73. <td class="pkg-synopsis">
  74. Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
  75. </td>
  76. </tr>
  77. <tr>
  78. <td class="pkg-name" style="padding-left: 60px;">
  79. <a href="x/net/context/ctxhttp/index.html">ctxhttp</a>
  80. </td>
  81. <td class="pkg-synopsis">
  82. Package ctxhttp provides helper functions for performing context-aware HTTP requests.
  83. </td>
  84. </tr>
  85. <tr>
  86. <td class="pkg-name" style="padding-left: 40px;">
  87. <a href="x/net/html/index.html">html</a>
  88. </td>
  89. <td class="pkg-synopsis">
  90. Package html implements an HTML5-compliant tokenizer and parser.
  91. </td>
  92. </tr>
  93. <tr>
  94. <td class="pkg-name" style="padding-left: 60px;">
  95. <a href="x/net/html/atom/index.html">atom</a>
  96. </td>
  97. <td class="pkg-synopsis">
  98. Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as &#34;p&#34; and &#34;id&#34;.
  99. </td>
  100. </tr>
  101. <tr>
  102. <td class="pkg-name" style="padding-left: 60px;">
  103. <a href="x/net/html/charset/index.html">charset</a>
  104. </td>
  105. <td class="pkg-synopsis">
  106. Package charset provides common text encodings for HTML documents.
  107. </td>
  108. </tr>
  109. <tr>
  110. <td class="pkg-name" style="padding-left: 20px;">
  111. <a href="x/oauth2/index.html">oauth2</a>
  112. </td>
  113. <td class="pkg-synopsis">
  114. Package oauth2 provides support for making OAuth2 authorized and authenticated HTTP requests.
  115. </td>
  116. </tr>
  117. <tr>
  118. <td class="pkg-name" style="padding-left: 40px;">
  119. <a href="x/oauth2/bitbucket/index.html">bitbucket</a>
  120. </td>
  121. <td class="pkg-synopsis">
  122. Package bitbucket provides constants for using OAuth2 to access Bitbucket.
  123. </td>
  124. </tr>
  125. <tr>
  126. <td class="pkg-name" style="padding-left: 40px;">
  127. <a href="x/oauth2/clientcredentials/index.html">clientcredentials</a>
  128. </td>
  129. <td class="pkg-synopsis">
  130. Package clientcredentials implements the OAuth2.0 &#34;client credentials&#34; token flow, also known as the &#34;two-legged OAuth 2.0&#34;.
  131. </td>
  132. </tr>
  133. <tr>
  134. <td class="pkg-name" style="padding-left: 40px;">
  135. <a href="x/oauth2/facebook/index.html">facebook</a>
  136. </td>
  137. <td class="pkg-synopsis">
  138. Package facebook provides constants for using OAuth2 to access Facebook.
  139. </td>
  140. </tr>
  141. <tr>
  142. <td class="pkg-name" style="padding-left: 40px;">
  143. <a href="x/oauth2/fitbit/index.html">fitbit</a>
  144. </td>
  145. <td class="pkg-synopsis">
  146. Package fitbit provides constants for using OAuth2 to access the Fitbit API.
  147. </td>
  148. </tr>
  149. <tr>
  150. <td class="pkg-name" style="padding-left: 40px;">
  151. <a href="x/oauth2/github/index.html">github</a>
  152. </td>
  153. <td class="pkg-synopsis">
  154. Package github provides constants for using OAuth2 to access Github.
  155. </td>
  156. </tr>
  157. <tr>
  158. <td class="pkg-name" style="padding-left: 40px;">
  159. <a href="x/oauth2/google/index.html">google</a>
  160. </td>
  161. <td class="pkg-synopsis">
  162. Package google provides support for making OAuth2 authorized and authenticated HTTP requests to Google APIs.
  163. </td>
  164. </tr>
  165. <tr>
  166. <td class="pkg-name" style="padding-left: 40px;">
  167. <a href="x/oauth2/hipchat/index.html">hipchat</a>
  168. </td>
  169. <td class="pkg-synopsis">
  170. Package hipchat provides constants for using OAuth2 to access HipChat.
  171. </td>
  172. </tr>
  173. <tr>
  174. <td class="pkg-name" style="padding-left: 40px;">
  175. <a href="x/oauth2/jws/index.html">jws</a>
  176. </td>
  177. <td class="pkg-synopsis">
  178. Package jws provides encoding and decoding utilities for signed JWS messages.
  179. </td>
  180. </tr>
  181. <tr>
  182. <td class="pkg-name" style="padding-left: 40px;">
  183. <a href="x/oauth2/jwt/index.html">jwt</a>
  184. </td>
  185. <td class="pkg-synopsis">
  186. Package jwt implements the OAuth 2.0 JSON Web Token flow, commonly known as &#34;two-legged OAuth 2.0&#34;.
  187. </td>
  188. </tr>
  189. <tr>
  190. <td class="pkg-name" style="padding-left: 40px;">
  191. <a href="x/oauth2/linkedin/index.html">linkedin</a>
  192. </td>
  193. <td class="pkg-synopsis">
  194. Package linkedin provides constants for using OAuth2 to access LinkedIn.
  195. </td>
  196. </tr>
  197. <tr>
  198. <td class="pkg-name" style="padding-left: 40px;">
  199. <a href="x/oauth2/microsoft/index.html">microsoft</a>
  200. </td>
  201. <td class="pkg-synopsis">
  202. Package microsoft provides constants for using OAuth2 to access Windows Live ID.
  203. </td>
  204. </tr>
  205. <tr>
  206. <td class="pkg-name" style="padding-left: 40px;">
  207. <a href="x/oauth2/odnoklassniki/index.html">odnoklassniki</a>
  208. </td>
  209. <td class="pkg-synopsis">
  210. Package odnoklassniki provides constants for using OAuth2 to access Odnoklassniki.
  211. </td>
  212. </tr>
  213. <tr>
  214. <td class="pkg-name" style="padding-left: 40px;">
  215. <a href="x/oauth2/paypal/index.html">paypal</a>
  216. </td>
  217. <td class="pkg-synopsis">
  218. Package paypal provides constants for using OAuth2 to access PayPal.
  219. </td>
  220. </tr>
  221. <tr>
  222. <td class="pkg-name" style="padding-left: 40px;">
  223. <a href="x/oauth2/slack/index.html">slack</a>
  224. </td>
  225. <td class="pkg-synopsis">
  226. Package slack provides constants for using OAuth2 to access Slack.
  227. </td>
  228. </tr>
  229. <tr>
  230. <td class="pkg-name" style="padding-left: 40px;">
  231. <a href="x/oauth2/vk/index.html">vk</a>
  232. </td>
  233. <td class="pkg-synopsis">
  234. Package vk provides constants for using OAuth2 to access VK.com.
  235. </td>
  236. </tr>
  237. <tr>
  238. <td class="pkg-name" style="padding-left: 20px;">
  239. <a href="x/text/index.html">text</a>
  240. </td>
  241. <td class="pkg-synopsis">
  242. </td>
  243. </tr>
  244. <tr>
  245. <td class="pkg-name" style="padding-left: 40px;">
  246. <a href="x/text/encoding/index.html">encoding</a>
  247. </td>
  248. <td class="pkg-synopsis">
  249. Package encoding defines an interface for character encodings, such as Shift JIS and Windows 1252, that can convert to and from UTF-8.
  250. </td>
  251. </tr>
  252. <tr>
  253. <td class="pkg-name" style="padding-left: 60px;">
  254. <a href="x/text/encoding/charmap/index.html">charmap</a>
  255. </td>
  256. <td class="pkg-synopsis">
  257. Package charmap provides simple character encodings such as IBM Code Page 437 and Windows 1252.
  258. </td>
  259. </tr>
  260. <tr>
  261. <td class="pkg-name" style="padding-left: 60px;">
  262. <a href="x/text/encoding/htmlindex/index.html">htmlindex</a>
  263. </td>
  264. <td class="pkg-synopsis">
  265. Package htmlindex maps character set encoding names to Encodings as recommended by the W3C for use in HTML 5.
  266. </td>
  267. </tr>
  268. <tr>
  269. <td class="pkg-name" style="padding-left: 60px;">
  270. <a href="x/text/encoding/ianaindex/index.html">ianaindex</a>
  271. </td>
  272. <td class="pkg-synopsis">
  273. Package ianaindex maps names to Encodings as specified by the IANA registry.
  274. </td>
  275. </tr>
  276. <tr>
  277. <td class="pkg-name" style="padding-left: 60px;">
  278. <a href="x/text/encoding/japanese/index.html">japanese</a>
  279. </td>
  280. <td class="pkg-synopsis">
  281. Package japanese provides Japanese encodings such as EUC-JP and Shift JIS.
  282. </td>
  283. </tr>
  284. <tr>
  285. <td class="pkg-name" style="padding-left: 60px;">
  286. <a href="x/text/encoding/korean/index.html">korean</a>
  287. </td>
  288. <td class="pkg-synopsis">
  289. Package korean provides Korean encodings such as EUC-KR.
  290. </td>
  291. </tr>
  292. <tr>
  293. <td class="pkg-name" style="padding-left: 60px;">
  294. <a href="x/text/encoding/simplifiedchinese/index.html">simplifiedchinese</a>
  295. </td>
  296. <td class="pkg-synopsis">
  297. Package simplifiedchinese provides Simplified Chinese encodings such as GBK.
  298. </td>
  299. </tr>
  300. <tr>
  301. <td class="pkg-name" style="padding-left: 60px;">
  302. <a href="x/text/encoding/traditionalchinese/index.html">traditionalchinese</a>
  303. </td>
  304. <td class="pkg-synopsis">
  305. Package traditionalchinese provides Traditional Chinese encodings such as Big5.
  306. </td>
  307. </tr>
  308. <tr>
  309. <td class="pkg-name" style="padding-left: 60px;">
  310. <a href="x/text/encoding/unicode/index.html">unicode</a>
  311. </td>
  312. <td class="pkg-synopsis">
  313. Package unicode provides Unicode encodings such as UTF-16.
  314. </td>
  315. </tr>
  316. <tr>
  317. <td class="pkg-name" style="padding-left: 80px;">
  318. <a href="x/text/encoding/unicode/utf32/index.html">utf32</a>
  319. </td>
  320. <td class="pkg-synopsis">
  321. Package utf32 provides the UTF-32 Unicode encoding.
  322. </td>
  323. </tr>
  324. <tr>
  325. <td class="pkg-name" style="padding-left: 40px;">
  326. <a href="x/text/language/index.html">language</a>
  327. </td>
  328. <td class="pkg-synopsis">
  329. Package language implements BCP 47 language tags and related functionality.
  330. </td>
  331. </tr>
  332. <tr>
  333. <td class="pkg-name" style="padding-left: 60px;">
  334. <a href="x/text/language/display/index.html">display</a>
  335. </td>
  336. <td class="pkg-synopsis">
  337. Package display provides display names for languages, scripts and regions in a requested language.
  338. </td>
  339. </tr>
  340. <tr>
  341. <td class="pkg-name" style="padding-left: 40px;">
  342. <a href="x/text/runes/index.html">runes</a>
  343. </td>
  344. <td class="pkg-synopsis">
  345. Package runes provide transforms for UTF-8 encoded text.
  346. </td>
  347. </tr>
  348. <tr>
  349. <td class="pkg-name" style="padding-left: 40px;">
  350. <a href="x/text/transform/index.html">transform</a>
  351. </td>
  352. <td class="pkg-synopsis">
  353. Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations.
  354. </td>
  355. </tr>
  356. </table>
  357. </div>
  358. <div id="footer">
  359. Build version go1.6.<br>
  360. Except as <a href="https://developers.google.com/site-policies#restrictions">noted</a>,
  361. the content of this page is licensed under the
  362. Creative Commons Attribution 3.0 License,
  363. and code is licensed under a <a href="http://localhost:6060/LICENSE">BSD license</a>.<br>
  364. <a href="http://localhost:6060/doc/tos.html">Terms of Service</a> |
  365. <a href="http://www.google.com/intl/en/policies/privacy/">Privacy Policy</a>
  366. </div>
  367. </div><!-- .container -->
  368. </div><!-- #page -->
  369. <!-- TODO(adonovan): load these from <head> using "defer" attribute? -->
  370. <script type="text/javascript" src="../../lib/godoc/jquery.js"></script>
  371. <script type="text/javascript" src="../../lib/godoc/jquery.treeview.js"></script>
  372. <script type="text/javascript" src="../../lib/godoc/jquery.treeview.edit.js"></script>
  373. <script type="text/javascript" src="../../lib/godoc/godocs.js"></script>
  374. </body>
  375. </html>