/src/golang.org/x - ActiveState ActiveGo 1.8
...

Directory /src/golang.org/x

Name Synopsis
..
crypto
acme Package acme provides an implementation of the Automatic Certificate Management Environment (ACME) spec.
autocert Package autocert provides automatic access to certificates from Let's Encrypt and any other ACME-based CA.
bcrypt Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm.
blake2b Package blake2b implements the BLAKE2b hash algorithm as defined in RFC 7693.
blake2s Package blake2s implements the BLAKE2s hash algorithm as defined in RFC 7693.
blowfish Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
bn256 Package bn256 implements a particular bilinear group at the 128-bit security level.
cast5 Package cast5 implements CAST5, as defined in RFC 2144.
chacha20poly1305 Package chacha20poly1305 implements the ChaCha20-Poly1305 AEAD as specified in RFC 7539.
cryptobyte Package cryptobyte implements building and parsing of byte strings for DER-encoded ASN.1 and TLS messages.
curve25519 Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
ed25519 Package ed25519 implements the Ed25519 signature algorithm.
hkdf Package hkdf implements the HMAC-based Extract-and-Expand Key Derivation Function (HKDF) as defined in RFC 5869.
md4 Package md4 implements the MD4 hash algorithm as defined in RFC 1320.
nacl
box Package box authenticates and encrypts messages using public-key cryptography.
secretbox Package secretbox encrypts and authenticates small messages.
ocsp Package ocsp parses OCSP responses as specified in RFC 2560.
openpgp Package openpgp implements high level operations on OpenPGP messages.
armor Package armor implements OpenPGP ASCII Armor, see RFC 4880.
clearsign Package clearsign generates and processes OpenPGP, clear-signed data.
elgamal Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms," IEEE Transactions on Information Theory, v.
errors Package errors contains common error types for the OpenPGP packages.
packet Package packet implements parsing and serialization of OpenPGP packets, as specified in RFC 4880.
s2k Package s2k implements the various OpenPGP string-to-key transforms as specified in RFC 4800 section 3.7.1.
otr Package otr implements the Off The Record protocol as specified in http://www.cypherpunks.ca/otr/Protocol-v2-3.1.0.html
pbkdf2 Package pbkdf2 implements the key derivation function PBKDF2 as defined in RFC 2898 / PKCS #5 v2.0.
pkcs12 Package pkcs12 implements some of PKCS#12.
poly1305 Package poly1305 implements Poly1305 one-time message authentication code as specified in http://cr.yp.to/mac/poly1305-20050329.pdf.
ripemd160 Package ripemd160 implements the RIPEMD-160 hash algorithm.
salsa20 Package salsa20 implements the Salsa20 stream cipher as specified in http://cr.yp.to/snuffle/spec.pdf.
salsa Package salsa provides low-level access to functions in the Salsa family.
scrypt Package scrypt implements the scrypt key derivation function as defined in Colin Percival's paper "Stronger Key Derivation via Sequential Memory-Hard Functions" (http://www.tarsnap.com/scrypt/scrypt.pdf).
sha3 Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
ssh Package ssh implements an SSH client and server.
agent Package agent implements the ssh-agent protocol, and provides both a client and a server.
knownhosts Package knownhosts implements a parser for the OpenSSH known_hosts host key database.
terminal Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems.
test This package contains integration tests for the golang.org/x/crypto/ssh package.
tea
twofish Package twofish implements Bruce Schneier's Twofish encryption algorithm.
xtea Package xtea implements XTEA encryption, as defined in Needham and Wheeler's 1997 technical report, "Tea extensions."
xts Package xts implements the XTS cipher mode as specified in IEEE P1619/D16.
image
bmp Package bmp implements a BMP image decoder and encoder.
cmd
webp-manual-test Program webp-manual-test checks that the Go WEBP library's decodings match the C WEBP library's.
colornames Package colornames provides named colors as defined in the SVG 1.1 spec.
draw Package draw provides image composition functions.
example
font Font is a basic example of using fonts.
font Package font defines an interface for font faces, for drawing text on an image.
basicfont Package basicfont provides fixed-size font faces.
gofont
gobold Package gobold provides the "Go Bold" TrueType font from the Go font family.
gobolditalic Package gobolditalic provides the "Go Bold Italic" TrueType font from the Go font family.
goitalic Package goitalic provides the "Go Italic" TrueType font from the Go font family.
gomedium Package gomedium provides the "Go Medium" TrueType font from the Go font family.
gomediumitalic Package gomediumitalic provides the "Go Medium Italic" TrueType font from the Go font family.
gomono Package gomono provides the "Go Mono" TrueType font from the Go font family.
gomonobold Package gomonobold provides the "Go Mono Bold" TrueType font from the Go font family.
gomonobolditalic Package gomonobolditalic provides the "Go Mono Bold Italic" TrueType font from the Go font family.
gomonoitalic Package gomonoitalic provides the "Go Mono Italic" TrueType font from the Go font family.
goregular Package goregular provides the "Go Regular" TrueType font from the Go font family.
gosmallcaps Package gosmallcaps provides the "Go Smallcaps" TrueType font from the Go font family.
gosmallcapsitalic Package gosmallcapsitalic provides the "Go Smallcaps Italic" TrueType font from the Go font family.
inconsolata Package inconsolata provides pre-rendered bitmap versions of the Inconsolata font family.
plan9font Package plan9font implements font faces for the Plan 9 font and subfont file formats.
sfnt Package sfnt implements a decoder for SFNT font file formats, including TrueType and OpenType.
math
f32 Package f32 implements float32 vector and matrix types.
f64 Package f64 implements float64 vector and matrix types.
fixed Package fixed implements fixed-point integer types.
riff Package riff implements the Resource Interchange File Format, used by media formats such as AVI, WAVE and WEBP.
tiff Package tiff implements a TIFF image decoder and encoder.
lzw Package lzw implements the Lempel-Ziv-Welch compressed data format, described in T. A. Welch, ``A Technique for High-Performance Data Compression'', Computer, 17(6) (June 1984), pp 8-19.
vector Package vector provides a rasterizer for 2-D vector graphics.
vp8 Package vp8 implements a decoder for the VP8 lossy image format.
vp8l Package vp8l implements a decoder for the VP8L lossless image format.
webp Package webp implements a decoder for WEBP images.
nycbcra Package nycbcra provides non-alpha-premultiplied Y'CbCr-with-alpha image and color types.
net
bpf Package bpf implements marshaling and unmarshaling of programs for the Berkeley Packet Filter virtual machine, and provides a Go implementation of the virtual machine.
context Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
ctxhttp Package ctxhttp provides helper functions for performing context-aware HTTP requests.
dict Package dict implements the Dictionary Server Protocol as defined in RFC 2229.
dns
dnsmessage Package dnsmessage provides a mostly RFC 1035 compliant implementation of DNS message packing and unpacking.
html Package html implements an HTML5-compliant tokenizer and parser.
atom 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 "p" and "id".
charset Package charset provides common text encodings for HTML documents.
http2 Package http2 implements the HTTP/2 protocol.
h2demo
h2i The h2i command is an interactive HTTP/2 console.
hpack Package hpack implements HPACK, a compression format for efficiently representing HTTP header fields in the context of HTTP/2.
icmp Package icmp provides basic functions for the manipulation of messages used in the Internet Control Message Protocols, ICMPv4 and ICMPv6.
idna Package idna implements IDNA2008 using the compatibility processing defined by UTS (Unicode Technical Standard) #46, which defines a standard to deal with the transition from IDNA2003.
ipv4 Package ipv4 implements IP-level socket options for the Internet Protocol version 4.
ipv6 Package ipv6 implements IP-level socket options for the Internet Protocol version 6.
lex
httplex Package httplex contains rules around lexical matters of various HTTP-related specifications.
lif Package lif provides basic functions for the manipulation of logical network interfaces and interface addresses on Solaris.
nettest Package nettest provides utilities for network testing.
netutil Package netutil provides network utility functions, complementing the more common ones in the net package.
proxy Package proxy provides support for a variety of protocols to proxy network data.
publicsuffix Package publicsuffix provides a public suffix list based on data from http://publicsuffix.org/.
route Package route provides basic functions for the manipulation of packet routing facilities on BSD variants.
trace Package trace implements tracing of requests and long-lived objects.
webdav Package webdav provides a WebDAV server implementation.
websocket Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
xsrftoken Package xsrftoken provides methods for generating and validating secure XSRF tokens.
oauth2 Package oauth2 provides support for making OAuth2 authorized and authenticated HTTP requests.
amazon Package amazon provides constants for using OAuth2 to access Amazon.
bitbucket Package bitbucket provides constants for using OAuth2 to access Bitbucket.
clientcredentials Package clientcredentials implements the OAuth2.0 "client credentials" token flow, also known as the "two-legged OAuth 2.0".
facebook Package facebook provides constants for using OAuth2 to access Facebook.
fitbit Package fitbit provides constants for using OAuth2 to access the Fitbit API.
foursquare Package foursquare provides constants for using OAuth2 to access Foursquare.
github Package github provides constants for using OAuth2 to access Github.
google Package google provides support for making OAuth2 authorized and authenticated HTTP requests to Google APIs.
heroku Package heroku provides constants for using OAuth2 to access Heroku.
hipchat Package hipchat provides constants for using OAuth2 to access HipChat.
jws Package jws provides a partial implementation of JSON Web Signature encoding and decoding.
jwt Package jwt implements the OAuth 2.0 JSON Web Token flow, commonly known as "two-legged OAuth 2.0".
linkedin Package linkedin provides constants for using OAuth2 to access LinkedIn.
mediamath Package mediamath provides constants for using OAuth2 to access MediaMath.
microsoft Package microsoft provides constants for using OAuth2 to access Windows Live ID.
odnoklassniki Package odnoklassniki provides constants for using OAuth2 to access Odnoklassniki.
paypal Package paypal provides constants for using OAuth2 to access PayPal.
slack Package slack provides constants for using OAuth2 to access Slack.
uber Package uber provides constants for using OAuth2 to access Uber.
vk Package vk provides constants for using OAuth2 to access VK.com.
yandex Package yandex provides constants for using OAuth2 to access Yandex APIs.
sync
errgroup Package errgroup provides synchronization, error propagation, and Context cancelation for groups of goroutines working on subtasks of a common task.
semaphore Package semaphore provides a weighted semaphore implementation.
singleflight Package singleflight provides a duplicate function call suppression mechanism.
syncmap Package syncmap provides a concurrent map implementation.
sys
plan9 Package plan9 contains an interface to the low-level operating system primitives.
unix Package unix contains an interface to the low-level operating system primitives.
linux
windows Package windows contains an interface to the low-level operating system primitives.
registry Package registry provides access to the Windows registry.
svc Package svc provides everything required to build Windows service.
debug Package debug provides facilities to execute svc.Handler on console.
eventlog Package eventlog implements access to Windows event log.
mgr Package mgr can be used to manage Windows service programs.
text text is a repository of text-related packages related to internationalization (i18n) and localization (l10n), such as character encodings, text transformations, and locale-specific text handling.
cases Package cases provides general and language-specific case mappers.
cmd
gotext gotext is a tool for managing text in Go source code.
collate Package collate contains types for comparing and sorting Unicode strings according to a given collation order.
build
currency Package currency contains currency-related functionality.
encoding Package encoding defines an interface for character encodings, such as Shift JIS and Windows 1252, that can convert to and from UTF-8.
charmap Package charmap provides simple character encodings such as IBM Code Page 437 and Windows 1252.
htmlindex Package htmlindex maps character set encoding names to Encodings as recommended by the W3C for use in HTML 5.
ianaindex Package ianaindex maps names to Encodings as specified by the IANA registry.
japanese Package japanese provides Japanese encodings such as EUC-JP and Shift JIS.
korean Package korean provides Korean encodings such as EUC-KR.
simplifiedchinese Package simplifiedchinese provides Simplified Chinese encodings such as GBK.
traditionalchinese Package traditionalchinese provides Traditional Chinese encodings such as Big5.
unicode Package unicode provides Unicode encodings such as UTF-16.
utf32 Package utf32 provides the UTF-32 Unicode encoding.
feature
plural Package plural provides utilities for handling linguistic plurals in text.
language Package language implements BCP 47 language tags and related functionality.
display Package display provides display names for languages, scripts and regions in a requested language.
message Package message implements formatted I/O for localized strings with functions analogous to the fmt's print functions.
catalog Package catalog defines collections of translated format strings.
runes Package runes provide transforms for UTF-8 encoded text.
search Package search provides language-specific search and string matching.
secure secure is a repository of text security related packages.
bidirule Package bidirule implements the Bidi Rule defined by RFC 5893.
precis Package precis contains types and functions for the preparation, enforcement, and comparison of internationalized strings ("PRECIS") as defined in RFC 7564.
transform Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations.
unicode unicode holds packages with implementations of Unicode standards that are mostly used as building blocks for other packages in golang.org/x/text, layout engines, or are otherwise more low-level in nature.
bidi Package bidi contains functionality for bidirectional text support.
cldr Package cldr provides a parser for LDML and related XML formats.
norm Package norm contains types and functions for normalizing Unicode strings.
rangetable Package rangetable provides utilities for creating and inspecting unicode.RangeTables.
runenames Package runenames provides rune names from the Unicode Character Database.
width Package width provides functionality for handling different widths in text.
tools
benchmark
parse Package parse provides support for parsing benchmark results as generated by 'go test -bench'.
blog Package blog implements a web server for articles written in present format.
atom Package atom defines XML data structures for an Atom feed.
cmd
benchcmp The benchcmp command displays performance changes between benchmarks.
bundle Bundle creates a single-source-file version of a source package suitable for inclusion in a particular target package.
callgraph callgraph: a tool for reporting the call graph of a Go program.
cover Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
digraph The digraph command performs queries over unlabelled directed graphs represented in text form.
eg The eg command performs example-based refactoring.
fiximports The fiximports command fixes import declarations to use the canonical import path for packages that have an "import comment" as defined by https://golang.org/s/go14customimport.
godex The godex command prints (dumps) exported information of packages or selected package objects.
godoc Godoc extracts and generates documentation for Go programs.
goimports Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.
gomvpkg The gomvpkg command moves go packages, updating import declarations.
gorename The gorename command performs precise type-safe renaming of identifiers in Go source code.
gotype The gotype command, like the front-end of a Go compiler, parses and type-checks a single Go package.
goyacc Goyacc is a version of yacc for Go.
guru guru: a tool for answering questions about Go source code.
serial Package serial defines the guru's schema for -json output.
heapview heapview is a tool for viewing Go heap dumps.
html2article This program takes an HTML file and outputs a corresponding article file in present format.
present Present displays slide presentations and articles.
ssadump ssadump: a tool for displaying and interpreting the SSA form of Go programs.
stress The stress utility is intended for catching of episodic failures.
stringer Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface.
tip Command tip is the tip.golang.org server, serving the latest HEAD straight from the Git oven.
toolstash Toolstash provides a way to save, run, and restore a known good copy of the Go toolchain and to compare the object files generated by two toolchains.
container
intsets Package intsets provides Sparse, a compact and fast representation for sparse sets of int values.
cover Package cover provides support for parsing coverage profiles generated by "go test -coverprofile=cover.out".
go
ast
astutil Package astutil contains common utilities for working with the Go AST.
buildutil Package buildutil provides utilities related to the go/build package in the standard library.
callgraph Package callgraph defines the call graph and various algorithms and utilities to operate on it.
cha Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm.
rta This package provides Rapid Type Analysis (RTA) for Go, a fast algorithm for call graph construction and discovery of reachable code (and hence dead code) and runtime types.
static Package static computes the call graph of a Go program containing only static call edges.
gccgoexportdata Package gccgoexportdata provides functions for reading export data files containing type information produced by the gccgo compiler.
gcexportdata Package gcexportdata provides functions for locating, reading, and writing export data files containing type information produced by the gc compiler.
gcimporter15 Package gcimporter15 provides various functions for reading gc-generated object files that can be used to implement the Importer interface defined by the Go 1.5 standard library package.
loader Package loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies.
pointer Package pointer implements Andersen's analysis, an inclusion-based pointer analysis algorithm first described in (Andersen, 1994).
ssa Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions.
interp Package ssa/interp defines an interpreter for the SSA representation of Go programs.
ssautil
types
typeutil Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values.
vcs
godoc Package godoc is a work-in-progress (2013-07-17) package to begin splitting up the godoc binary into multiple pieces.
analysis Package analysis performs type and pointer analysis and generates mark-up for the Go source view.
dl Package dl implements a simple downloads frontend server.
proxy Package proxy proxies requests to the sandbox compiler service and the playground share handler.
redirect Package redirect provides hooks to register HTTP handlers that redirect old godoc paths to their new equivalents and assist in accessing the issue tracker, wiki, code review system, etc.
short Package short implements a simple URL shortener, serving an administrative interface at /s and shortened urls from /s/key.
static Package static exports a map of static file content that supports the godoc user interface.
util Package util contains utility types and functions for godoc.
vfs Package vfs defines types for abstract file system access and provides an implementation accessing the file system of the underlying OS.
gatefs Package gatefs provides an implementation of the FileSystem interface that wraps another FileSystem and limits its concurrency.
httpfs Package httpfs implements http.FileSystem using a godoc vfs.FileSystem.
mapfs Package mapfs file provides an implementation of the FileSystem interface based on the contents of a map[string]string.
zipfs Package zipfs file provides an implementation of the FileSystem interface based on the contents of a .zip file.
imports Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
playground Package playground registers HTTP handlers at "/compile" and "/share" that proxy requests to the golang.org playground service.
socket Package socket implements an WebSocket-based playground backend.
present The present file format Present files have the following format.
refactor
eg Package eg implements the example-based refactoring tool whose command-line is defined in golang.org/x/tools/cmd/eg.
importgraph Package importgraph computes the forward and reverse import dependency graphs for all packages in a Go workspace.
rename Package rename contains the implementation of the 'gorename' command whose main function is in golang.org/x/tools/cmd/gorename.
satisfy Package satisfy inspects the type-checked ASTs of Go packages and reports the set of discovered type constraints of the form (lhs, rhs Type) where lhs is a non-trivial interface, rhs satisfies this interface, and this fact is necessary for the package to be well-typed.
tour
content
basics
concurrency
flowcontrol
methods
moretypes
welcome
gotour
pic
reader
solutions
tree
wc