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

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#375EAB">
<title>/src/golang.org - The Go Programming Language</title>
<link type="text/css" rel="stylesheet" href="../../lib/godoc/style.css">
<link rel="stylesheet" href="../../lib/godoc/jquery.treeview.css">
<script type="text/javascript">window.initFuncs = [];</script>
</head>
<body>
<div id='lowframe' style="position: fixed; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;">
...
</div><!-- #lowframe -->
<div id="topbar" class="wide"><div class="container">
<div class="top-heading" id="heading-wide"><a href="http://localhost:6060/">The Go Programming Language</a></div>
<div class="top-heading" id="heading-narrow"><a href="http://localhost:6060/">Go</a></div>
<a href="index.html#" id="menu-button"><span id="menu-button-arrow">&#9661;</span></a>
<form method="GET" action="http://localhost:6060/search">
<div id="menu">
<a href="http://localhost:6060/doc/">Documents</a>
<a href="http://localhost:6060/pkg/">Packages</a>
<a href="http://localhost:6060/project/">The Project</a>
<a href="http://localhost:6060/help/">Help</a>
<a href="http://localhost:6060/blog/">Blog</a>
<input type="text" id="search" name="q" class="inactive" value="Search" placeholder="Search">
</div>
</form>
</div></div>
<div id="page" class="wide">
<div class="container">
<h1>Directory /src/golang.org</h1>
<div id="nav"></div>
<!--
Copyright 2009 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<!--
Note: Static (i.e., not template-generated) href and id
attributes start with "pkg-" to make it impossible for
them to conflict with generated attributes (some of which
correspond to Go identifiers).
-->
<div class="pkg-dir">
<table>
<tr>
<th class="pkg-name">Name</th>
<th class="pkg-synopsis">Synopsis</th>
</tr>
<tr>
<td colspan="2"><a href="http://localhost:6060/pkg/">..</a></td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 0px;">
<a href="x/index.html">x</a>
</td>
<td class="pkg-synopsis">
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 20px;">
<a href="x/net/index.html">net</a>
</td>
<td class="pkg-synopsis">
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/net/context/index.html">context</a>
</td>
<td class="pkg-synopsis">
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/net/context/ctxhttp/index.html">ctxhttp</a>
</td>
<td class="pkg-synopsis">
Package ctxhttp provides helper functions for performing context-aware HTTP requests.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/net/html/index.html">html</a>
</td>
<td class="pkg-synopsis">
Package html implements an HTML5-compliant tokenizer and parser.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/net/html/atom/index.html">atom</a>
</td>
<td class="pkg-synopsis">
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;.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/net/html/charset/index.html">charset</a>
</td>
<td class="pkg-synopsis">
Package charset provides common text encodings for HTML documents.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 20px;">
<a href="x/oauth2/index.html">oauth2</a>
</td>
<td class="pkg-synopsis">
Package oauth2 provides support for making OAuth2 authorized and authenticated HTTP requests.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/bitbucket/index.html">bitbucket</a>
</td>
<td class="pkg-synopsis">
Package bitbucket provides constants for using OAuth2 to access Bitbucket.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/clientcredentials/index.html">clientcredentials</a>
</td>
<td class="pkg-synopsis">
Package clientcredentials implements the OAuth2.0 &#34;client credentials&#34; token flow, also known as the &#34;two-legged OAuth 2.0&#34;.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/facebook/index.html">facebook</a>
</td>
<td class="pkg-synopsis">
Package facebook provides constants for using OAuth2 to access Facebook.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/fitbit/index.html">fitbit</a>
</td>
<td class="pkg-synopsis">
Package fitbit provides constants for using OAuth2 to access the Fitbit API.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/github/index.html">github</a>
</td>
<td class="pkg-synopsis">
Package github provides constants for using OAuth2 to access Github.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/google/index.html">google</a>
</td>
<td class="pkg-synopsis">
Package google provides support for making OAuth2 authorized and authenticated HTTP requests to Google APIs.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/hipchat/index.html">hipchat</a>
</td>
<td class="pkg-synopsis">
Package hipchat provides constants for using OAuth2 to access HipChat.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/jws/index.html">jws</a>
</td>
<td class="pkg-synopsis">
Package jws provides encoding and decoding utilities for signed JWS messages.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/jwt/index.html">jwt</a>
</td>
<td class="pkg-synopsis">
Package jwt implements the OAuth 2.0 JSON Web Token flow, commonly known as &#34;two-legged OAuth 2.0&#34;.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/linkedin/index.html">linkedin</a>
</td>
<td class="pkg-synopsis">
Package linkedin provides constants for using OAuth2 to access LinkedIn.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/microsoft/index.html">microsoft</a>
</td>
<td class="pkg-synopsis">
Package microsoft provides constants for using OAuth2 to access Windows Live ID.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/odnoklassniki/index.html">odnoklassniki</a>
</td>
<td class="pkg-synopsis">
Package odnoklassniki provides constants for using OAuth2 to access Odnoklassniki.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/paypal/index.html">paypal</a>
</td>
<td class="pkg-synopsis">
Package paypal provides constants for using OAuth2 to access PayPal.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/slack/index.html">slack</a>
</td>
<td class="pkg-synopsis">
Package slack provides constants for using OAuth2 to access Slack.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/oauth2/vk/index.html">vk</a>
</td>
<td class="pkg-synopsis">
Package vk provides constants for using OAuth2 to access VK.com.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 20px;">
<a href="x/text/index.html">text</a>
</td>
<td class="pkg-synopsis">
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/text/encoding/index.html">encoding</a>
</td>
<td class="pkg-synopsis">
Package encoding defines an interface for character encodings, such as Shift JIS and Windows 1252, that can convert to and from UTF-8.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/text/encoding/charmap/index.html">charmap</a>
</td>
<td class="pkg-synopsis">
Package charmap provides simple character encodings such as IBM Code Page 437 and Windows 1252.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/text/encoding/htmlindex/index.html">htmlindex</a>
</td>
<td class="pkg-synopsis">
Package htmlindex maps character set encoding names to Encodings as recommended by the W3C for use in HTML 5.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/text/encoding/ianaindex/index.html">ianaindex</a>
</td>
<td class="pkg-synopsis">
Package ianaindex maps names to Encodings as specified by the IANA registry.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/text/encoding/japanese/index.html">japanese</a>
</td>
<td class="pkg-synopsis">
Package japanese provides Japanese encodings such as EUC-JP and Shift JIS.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/text/encoding/korean/index.html">korean</a>
</td>
<td class="pkg-synopsis">
Package korean provides Korean encodings such as EUC-KR.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/text/encoding/simplifiedchinese/index.html">simplifiedchinese</a>
</td>
<td class="pkg-synopsis">
Package simplifiedchinese provides Simplified Chinese encodings such as GBK.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/text/encoding/traditionalchinese/index.html">traditionalchinese</a>
</td>
<td class="pkg-synopsis">
Package traditionalchinese provides Traditional Chinese encodings such as Big5.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/text/encoding/unicode/index.html">unicode</a>
</td>
<td class="pkg-synopsis">
Package unicode provides Unicode encodings such as UTF-16.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 80px;">
<a href="x/text/encoding/unicode/utf32/index.html">utf32</a>
</td>
<td class="pkg-synopsis">
Package utf32 provides the UTF-32 Unicode encoding.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/text/language/index.html">language</a>
</td>
<td class="pkg-synopsis">
Package language implements BCP 47 language tags and related functionality.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 60px;">
<a href="x/text/language/display/index.html">display</a>
</td>
<td class="pkg-synopsis">
Package display provides display names for languages, scripts and regions in a requested language.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/text/runes/index.html">runes</a>
</td>
<td class="pkg-synopsis">
Package runes provide transforms for UTF-8 encoded text.
</td>
</tr>
<tr>
<td class="pkg-name" style="padding-left: 40px;">
<a href="x/text/transform/index.html">transform</a>
</td>
<td class="pkg-synopsis">
Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations.
</td>
</tr>
</table>
</div>
<div id="footer">
Build version go1.6.<br>
Except as <a href="https://developers.google.com/site-policies#restrictions">noted</a>,
the content of this page is licensed under the
Creative Commons Attribution 3.0 License,
and code is licensed under a <a href="http://localhost:6060/LICENSE">BSD license</a>.<br>
<a href="http://localhost:6060/doc/tos.html">Terms of Service</a> |
<a href="http://www.google.com/intl/en/policies/privacy/">Privacy Policy</a>
</div>
</div><!-- .container -->
</div><!-- #page -->
<!-- TODO(adonovan): load these from <head> using "defer" attribute? -->
<script type="text/javascript" src="../../lib/godoc/jquery.js"></script>
<script type="text/javascript" src="../../lib/godoc/jquery.treeview.js"></script>
<script type="text/javascript" src="../../lib/godoc/jquery.treeview.edit.js"></script>
<script type="text/javascript" src="../../lib/godoc/godocs.js"></script>
</body>
</html>