type io.Writer
445 uses
io (current package)
io.go#L96: type Writer interface {
io.go#L128: Writer
io.go#L139: Writer
io.go#L146: Writer
io.go#L166: Writer
io.go#L173: Writer
io.go#L196: WriteTo(w Writer) (n int64, err error)
io.go#L307: func WriteString(w Writer, s string) (n int, err error) {
io.go#L357: func CopyN(dst Writer, src Reader, n int64) (written int64, err error) {
io.go#L381: func Copy(dst Writer, src Reader) (written int64, err error) {
io.go#L392: func CopyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {
io.go#L401: func copyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {
io.go#L550: func TeeReader(r Reader, w Writer) Reader {
io.go#L556: w Writer
io.go#L571: var Discard Writer = discard{}
multi.go#L55: writers []Writer
multi.go#L102: func MultiWriter(writers ...Writer) Writer {
multi.go#L103: allWriters := make([]Writer, 0, len(writers))
io/ioutil
ioutil.go#L84: var Discard io.Writer = io.Discard
archive/zip
register.go#L19: type Compressor func(w io.Writer) (io.WriteCloser, error)
register.go#L30: func newFlateWriter(w io.Writer) io.WriteCloser {
register.go#L110: compressors.Store(Store, Compressor(func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil }))
register.go#L111: compressors.Store(Deflate, Compressor(func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil }))
writer.go#L43: func NewWriter(w io.Writer) *Writer {
writer.go#L217: func (w *Writer) Create(name string) (io.Writer, error) {
writer.go#L255: func (w *Writer) CreateHeader(fh *FileHeader) (io.Writer, error) {
writer.go#L323: ow io.Writer
writer.go#L376: func writeHeader(w io.Writer, h *FileHeader) error {
writer.go#L437: zipw io.Writer
writer.go#L503: w io.Writer
writer.go#L514: io.Writer
bufio
bufio.go#L499: func (b *Reader) WriteTo(w io.Writer) (n int64, err error) {
bufio.go#L541: func (b *Reader) writeBuf(w io.Writer) (int64, error) {
bufio.go#L562: wr io.Writer
bufio.go#L568: func NewWriterSize(w io.Writer, size int) *Writer {
bufio.go#L584: func NewWriter(w io.Writer) *Writer {
bufio.go#L593: func (b *Writer) Reset(w io.Writer) {
bytes
buffer.go#L236: func (b *Buffer) WriteTo(w io.Writer) (n int64, err error) {
reader.go#L138: func (r *Reader) WriteTo(w io.Writer) (n int64, err error) {
compress/flate
deflate.go#L578: func (d *compressor) init(w io.Writer, level int) (err error) {
deflate.go#L611: func (d *compressor) reset(w io.Writer) {
deflate.go#L669: func NewWriter(w io.Writer, level int) (*Writer, error) {
deflate.go#L683: func NewWriterDict(w io.Writer, level int, dict []byte) (*Writer, error) {
deflate.go#L695: w io.Writer
deflate.go#L738: func (w *Writer) Reset(dst io.Writer) {
huffman_bit_writer.go#L75: writer io.Writer
huffman_bit_writer.go#L94: func newHuffmanBitWriter(w io.Writer) *huffmanBitWriter {
huffman_bit_writer.go#L106: func (w *huffmanBitWriter) reset(writer io.Writer) {
compress/gzip
gzip.go#L30: w io.Writer
gzip.go#L49: func NewWriter(w io.Writer) *Writer {
gzip.go#L60: func NewWriterLevel(w io.Writer, level int) (*Writer, error) {
gzip.go#L69: func (z *Writer) init(w io.Writer, level int) {
gzip.go#L88: func (z *Writer) Reset(w io.Writer) {
compress/zlib
writer.go#L29: w io.Writer
writer.go#L44: func NewWriter(w io.Writer) *Writer {
writer.go#L55: func NewWriterLevel(w io.Writer, level int) (*Writer, error) {
writer.go#L64: func NewWriterLevelDict(w io.Writer, level int, dict []byte) (*Writer, error) {
writer.go#L78: func (z *Writer) Reset(w io.Writer) {
crypto/cipher
io.go#L32: W io.Writer
crypto/tls
common.go#L689: KeyLogWriter io.Writer
encoding/base32
base32.go#L178: w io.Writer
base32.go#L250: func NewEncoder(enc *Encoding, w io.Writer) io.WriteCloser {
encoding/base64
base64.go#L186: w io.Writer
base64.go#L257: func NewEncoder(enc *Encoding, w io.Writer) io.WriteCloser {
encoding/binary
binary.go#L271: func Write(w io.Writer, order ByteOrder, data interface{}) error {
encoding/gob
encoder.go#L19: w []io.Writer // where to send the data
encoder.go#L34: func NewEncoder(w io.Writer) *Encoder {
encoder.go#L36: enc.w = []io.Writer{w}
encoder.go#L43: func (enc *Encoder) writer() io.Writer {
encoder.go#L48: func (enc *Encoder) pushWriter(w io.Writer) {
encoder.go#L64: func (enc *Encoder) writeMessage(w io.Writer, b *encBuffer) {
encoder.go#L93: func (enc *Encoder) sendActualType(w io.Writer, state *encoderState, ut *userTypeInfo, actual reflect.Type) (sent bool) {
encoder.go#L135: func (enc *Encoder) sendType(w io.Writer, state *encoderState, origt reflect.Type) (sent bool) {
encoder.go#L182: func (enc *Encoder) sendTypeDescriptor(w io.Writer, state *encoderState, ut *userTypeInfo) {
encoding/hex
hex.go#L141: w io.Writer
hex.go#L147: func NewEncoder(w io.Writer) io.Writer {
hex.go#L215: func Dumper(w io.Writer) io.WriteCloser {
hex.go#L220: w io.Writer
encoding/json
stream.go#L182: w io.Writer
stream.go#L192: func NewEncoder(w io.Writer) *Encoder {
encoding/pem
pem.go#L214: out io.Writer
pem.go#L258: func writeHeader(out io.Writer, k, v string) error {
pem.go#L264: func Encode(out io.Writer, b *Block) error {
encoding/xml
marshal.go#L141: func NewEncoder(w io.Writer) *Encoder {
xml.go#L1895: func EscapeText(w io.Writer, s []byte) error {
xml.go#L1902: func escapeText(w io.Writer, s []byte, escapeNewline bool) error {
xml.go#L1989: func Escape(w io.Writer, s []byte) {
xml.go#L2001: func emitCDATA(w io.Writer, s []byte) error {
flag
flag.go#L340: output io.Writer // nil means stderr; use Output() accessor
flag.go#L367: func (f *FlagSet) Output() io.Writer {
flag.go#L386: func (f *FlagSet) SetOutput(output io.Writer) {
fmt
print.go#L202: func Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error) {
print.go#L230: func Fprint(w io.Writer, a ...interface{}) (n int, err error) {
print.go#L262: func Fprintln(w io.Writer, a ...interface{}) (n int, err error) {
github.com/aws/aws-sdk-go/aws
types.go#L244: func CopySeekableBody(dst io.Writer, src io.ReadSeeker) (int64, error) {
github.com/aws/aws-sdk-go/aws/credentials/processcreds
provider.go#L416: func readInput(r io.Reader, w io.Writer, read chan error) {
github.com/aws/aws-sdk-go/private/protocol
payload.go#L48: MarshalPayload(io.Writer, interface{}) error
payload.go#L61: func (h HandlerPayloadMarshal) MarshalPayload(w io.Writer, v interface{}) error {
github.com/go-git/gcfg/scanner
errors.go#L113: func PrintError(w io.Writer, err error) {
github.com/go-git/go-billy/v5
fs.go#L166: io.Writer
github.com/go-git/go-git/v5
worktree_status.go#L438: func (w *Worktree) fillEncodedObjectFromFile(dst io.Writer, path string, fi os.FileInfo) (err error) {
worktree_status.go#L453: func (w *Worktree) fillEncodedObjectFromSymlink(dst io.Writer, path string, fi os.FileInfo) error {
github.com/go-git/go-git/v5/plumbing/format/config
encoder.go#L11: w io.Writer
encoder.go#L15: func NewEncoder(w io.Writer) *Encoder {
github.com/go-git/go-git/v5/plumbing/format/diff
unified_encoder.go#L35: io.Writer
unified_encoder.go#L46: func NewUnifiedEncoder(w io.Writer, contextLines int) *UnifiedEncoder {
github.com/go-git/go-git/v5/plumbing/format/idxfile
encoder.go#L13: io.Writer
encoder.go#L18: func NewEncoder(w io.Writer) *Encoder {
github.com/go-git/go-git/v5/plumbing/format/index
encoder.go#L26: w io.Writer
encoder.go#L31: func NewEncoder(w io.Writer) *Encoder {
github.com/go-git/go-git/v5/plumbing/format/objfile
writer.go#L20: raw io.Writer
writer.go#L23: multi io.Writer
writer.go#L33: func NewWriter(w io.Writer) *Writer {
github.com/go-git/go-git/v5/plumbing/format/packfile
encoder.go#L29: func NewEncoder(w io.Writer, s storer.EncodedObjectStorer, useRefDeltas bool) *Encoder {
encoder.go#L209: w io.Writer
encoder.go#L213: func newOffsetWriter(w io.Writer) *offsetWriter {
parser.go#L368: w io.Writer,
parser.go#L405: func (p *Parser) readData(w io.Writer, o *objectInfo) error {
scanner.go#L312: func (s *Scanner) NextObject(w io.Writer) (written int64, crc32 uint32, err error) {
scanner.go#L325: func (s *Scanner) copyObject(w io.Writer) (n int64, err error) {
scanner.go#L396: crc io.Writer
scanner.go#L402: func newScannerReader(r io.Reader, h io.Writer) *scannerReader {
github.com/go-git/go-git/v5/plumbing/format/pktline
encoder.go#L14: w io.Writer
encoder.go#L38: func NewEncoder(w io.Writer) *Encoder {
github.com/go-git/go-git/v5/plumbing/object
object.go#L112: func (s *Signature) Encode(w io.Writer) error {
object.go#L156: func (s *Signature) encodeTimeAndTimeZone(w io.Writer) error {
patch.go#L132: func (p *Patch) Encode(w io.Writer) error {
github.com/go-git/go-git/v5/plumbing/protocol/packp
advrefs_encode.go#L19: func (a *AdvRefs) Encode(w io.Writer) error {
advrefs_encode.go#L34: func newAdvRefsEncoder(w io.Writer) *advRefsEncoder {
report_status.go#L45: func (s *ReportStatus) Encode(w io.Writer) error {
report_status.go#L158: func (s *CommandStatus) encode(w io.Writer) error {
shallowupd.go#L76: func (r *ShallowUpdate) Encode(w io.Writer) error {
srvresp.go#L116: func (r *ServerResponse) Encode(w io.Writer) error {
ulreq_encode.go#L18: func (u *UploadRequest) Encode(w io.Writer) error {
ulreq_encode.go#L29: func newUlReqEncoder(w io.Writer) *ulReqEncoder {
updreq_encode.go#L17: func (r *ReferenceUpdateRequest) Encode(w io.Writer) error {
uppackreq.go#L73: func (u *UploadHaves) Encode(w io.Writer, flush bool) error {
uppackresp.go#L75: func (r *UploadPackResponse) Encode(w io.Writer) (err error) {
github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband
demux.go#L16: io.Writer
muxer.go#L23: func NewMuxer(t Type, w io.Writer) *Muxer {
github.com/go-git/go-git/v5/plumbing/transport/internal/common
common.go#L458: func sendDone(w io.Writer) error {
server.go#L15: Stderr io.Writer
github.com/go-git/go-git/v5/storage/filesystem/dotgit
writers.go#L149: func (w *PackWriter) encodeIdx(writer io.Writer) error {
writers.go#L161: w io.Writer
writers.go#L169: func newSyncedReader(w io.Writer, r io.ReadSeeker) *syncedReader {
github.com/go-git/go-git/v5/utils/binary
write.go#L10: func Write(w io.Writer, data ...interface{}) error {
write.go#L20: func WriteVariableWidthInt(w io.Writer, n int64) error {
write.go#L36: func WriteUint64(w io.Writer, value uint64) error {
write.go#L42: func WriteUint32(w io.Writer, value uint32) error {
write.go#L48: func WriteUint16(w io.Writer, value uint16) error {
github.com/go-git/go-git/v5/utils/ioutil
common.go#L59: io.Writer
common.go#L69: func NewWriteCloser(w io.Writer, c io.Closer) io.WriteCloser {
common.go#L74: io.Writer
common.go#L81: func WriteNopCloser(w io.Writer) io.WriteCloser {
common.go#L97: func NewContextWriter(ctx context.Context, w io.Writer) io.Writer {
common.go#L147: io.Writer
common.go#L153: func NewWriterOnError(w io.Writer, notify func(error)) io.Writer {
github.com/go-redis/redis/v8/internal/proto
writer.go#L14: io.Writer
github.com/golang/protobuf/proto
text_encode.go#L32: func (tm *TextMarshaler) Marshal(w io.Writer, m Message) error {
text_encode.go#L97: func MarshalText(w io.Writer, m Message) error { return defaultTextMarshaler.Marshal(w, m) }
text_encode.go#L103: func CompactText(w io.Writer, m Message) error { return compactTextMarshaler.Marshal(w, m) }
github.com/google/pprof/profile
profile.go#L318: func (p *Profile) Write(w io.Writer) error {
profile.go#L326: func (p *Profile) WriteUncompressed(w io.Writer) error {
github.com/google/safehtml/template
template.go#L126: func (t *Template) Execute(wr io.Writer, data interface{}) error {
template.go#L172: func (t *Template) ExecuteTemplate(wr io.Writer, name string, data interface{}) error {
github.com/jackc/pgconn
config.go#L676: return func(r io.Reader, w io.Writer) Frontend {
pgconn.go#L51: type BuildFrontendFunc func(r io.Reader, w io.Writer) Frontend
pgconn.go#L1092: func (pgConn *PgConn) CopyTo(ctx context.Context, w io.Writer, sql string) (CommandTag, error) {
github.com/jackc/pgproto3/v2
backend.go#L12: w io.Writer
backend.go#L37: func NewBackend(cr ChunkReader, w io.Writer) *Backend {
frontend.go#L13: w io.Writer
frontend.go#L51: func NewFrontend(cr ChunkReader, w io.Writer) *Frontend {
github.com/jbenet/go-context/io
ctxio.go#L25: io.Writer
ctxio.go#L29: w io.Writer
ctxio.go#L47: func NewWriter(ctx context.Context, w io.Writer) *ctxWriter {
github.com/Masterminds/squirrel
insert.go#L117: func (d *insertData) appendValuesToSQL(w io.Writer, args []interface{}) ([]interface{}, error) {
insert.go#L148: func (d *insertData) appendSelectToSQL(w io.Writer, args []interface{}) ([]interface{}, error) {
part.go#L32: func appendToSql(parts []Sqlizer, w io.Writer, sep string, args []interface{}) ([]interface{}, error) {
github.com/matttproud/golang_protobuf_extensions/pbutil
encode.go#L30: func WriteDelimited(w io.Writer, m proto.Message) (n int, err error) {
github.com/prometheus/client_golang/prometheus/promhttp
http.go#L151: w := io.Writer(rsp)
github.com/prometheus/common/expfmt
encode.go#L64: func NewEncoder(w io.Writer, format Format) Encoder {
text_create.go#L34: io.Writer
text_create.go#L67: func MetricFamilyToText(out io.Writer, in *dto.MetricFamily) (written int, err error) {
github.com/russross/blackfriday/v2
esc.go#L15: func escapeHTML(w io.Writer, s []byte) {
esc.go#L31: func escLink(w io.Writer, text []byte) {
html.go#L330: func (r *HTMLRenderer) tag(w io.Writer, name []byte, attrs []string) {
html.go#L385: func (r *HTMLRenderer) out(w io.Writer, text []byte) {
html.go#L394: func (r *HTMLRenderer) cr(w io.Writer) {
html.go#L487: func (r *HTMLRenderer) outHRTag(w io.Writer) {
html.go#L505: func (r *HTMLRenderer) RenderNode(w io.Writer, node *Node, entering bool) WalkStatus {
html.go#L834: func (r *HTMLRenderer) RenderHeader(w io.Writer, ast *Node) {
html.go#L842: func (r *HTMLRenderer) RenderFooter(w io.Writer, ast *Node) {
html.go#L849: func (r *HTMLRenderer) writeDocumentHeader(w io.Writer) {
html.go#L897: func (r *HTMLRenderer) writeTOC(w io.Writer, ast *Node) {
markdown.go#L148: RenderNode(w io.Writer, node *Node, entering bool) WalkStatus
markdown.go#L161: RenderHeader(w io.Writer, ast *Node)
markdown.go#L164: RenderFooter(w io.Writer, ast *Node)
smartypants.go#L437: func (r *SPRenderer) Process(w io.Writer, text []byte) {
github.com/yuin/goldmark
markdown.go#L30: func Convert(source []byte, w io.Writer, opts ...parser.ParseOption) error {
markdown.go#L39: Convert(source []byte, writer io.Writer, opts ...parser.ParseOption) error
markdown.go#L114: func (m *markdown) Convert(source []byte, writer io.Writer, opts ...parser.ParseOption) error {
github.com/yuin/goldmark/renderer
renderer.go#L90: Render(w io.Writer, source []byte, n ast.Node) error
renderer.go#L135: func (r *renderer) Render(w io.Writer, source []byte, n ast.Node) error {
github.com/yuin/goldmark/util
util.go#L851: io.Writer
go.opencensus.io/plugin/ochttp
wrapped_body.go#L26: wr, i0 = body.(io.Writer)
wrapped_body.go#L37: io.Writer
go.opencensus.io/zpages
rpcz.go#L76: func WriteHTMLRpczPage(w io.Writer) {
rpcz.go#L89: func WriteHTMLRpczSummary(w io.Writer) {
rpcz.go#L98: func WriteTextRpczPage(w io.Writer) {
tracez.go#L95: func WriteHTMLTracezPage(w io.Writer, spanName string, spanType, spanSubtype int) {
tracez.go#L109: func WriteHTMLTracezSummary(w io.Writer) {
tracez.go#L118: func WriteHTMLTracezSpans(w io.Writer, spanName string, spanType, spanSubtype int) {
tracez.go#L128: func WriteTextTracezSpans(w io.Writer, spanName string, spanType, spanSubtype int) {
tracez.go#L135: func WriteTextTracezSummary(w io.Writer) {
tracez.go#L372: func writeTextTraces(w io.Writer, data traceData) {
go/ast
print.go#L39: func Fprint(w io.Writer, fset *token.FileSet, x interface{}, f FieldFilter) error {
print.go#L43: func fprint(w io.Writer, fset *token.FileSet, x interface{}, f FieldFilter) (err error) {
print.go#L78: output io.Writer
go/doc
comment.go#L33: func commentEscape(w io.Writer, text string, nice bool) {
comment.go#L98: func emphasize(w io.Writer, line string, words map[string]string, nice bool) {
comment.go#L309: func ToHTML(w io.Writer, text string, words map[string]string) {
comment.go#L426: func ToText(w io.Writer, text string, indent, preIndent string, width int) {
comment.go#L463: out io.Writer
go/format
format.go#L54: func Node(dst io.Writer, fset *token.FileSet, node interface{}) error {
go/printer
printer.go#L1173: output io.Writer
printer.go#L1305: func (cfg *Config) fprint(output io.Writer, fset *token.FileSet, node interface{}, nodeSizes map[ast.Node]int) (err error) {
printer.go#L1366: func (cfg *Config) Fprint(output io.Writer, fset *token.FileSet, node interface{}) error {
printer.go#L1375: func Fprint(output io.Writer, fset *token.FileSet, node interface{}) error {
go/scanner
errors.go#L116: func PrintError(w io.Writer, err error) {
golang.org/x/crypto/openpgp
keys.go#L592: func (e *Entity) SerializePrivate(w io.Writer, config *packet.Config) (err error) {
keys.go#L630: func (e *Entity) Serialize(w io.Writer) error {
write.go#L23: func DetachSign(w io.Writer, signer *Entity, message io.Reader, config *packet.Config) error {
write.go#L30: func ArmoredDetachSign(w io.Writer, signer *Entity, message io.Reader, config *packet.Config) (err error) {
write.go#L38: func DetachSignText(w io.Writer, signer *Entity, message io.Reader, config *packet.Config) error {
write.go#L46: func ArmoredDetachSignText(w io.Writer, signer *Entity, message io.Reader, config *packet.Config) error {
write.go#L50: func armoredDetachSign(w io.Writer, signer *Entity, message io.Reader, sigType packet.SignatureType, config *packet.Config) (err error) {
write.go#L62: func detachSign(w io.Writer, signer *Entity, message io.Reader, sigType packet.SignatureType, config *packet.Config) (err error) {
write.go#L109: func SymmetricallyEncrypt(ciphertext io.Writer, passphrase []byte, hints *FileHints, config *packet.Config) (plaintext io.WriteCloser, err error) {
write.go#L260: func Encrypt(ciphertext io.Writer, to []*Entity, signed *Entity, hints *FileHints, config *packet.Config) (plaintext io.WriteCloser, err error) {
write.go#L345: func Sign(output io.Writer, signed *Entity, hints *FileHints, config *packet.Config) (input io.WriteCloser, err error) {
write.go#L409: w io.Writer
golang.org/x/crypto/openpgp/armor
encode.go#L18: func writeSlices(out io.Writer, slices ...[]byte) (err error) {
encode.go#L34: out io.Writer
encode.go#L38: func newLineBreaker(out io.Writer, lineLength int) *lineBreaker {
encode.go#L101: out io.Writer
encode.go#L133: func Encode(out io.Writer, blockType string, headers map[string]string) (w io.WriteCloser, err error) {
golang.org/x/crypto/openpgp/packet
encrypted_key.go#L109: func (e *EncryptedKey) Serialize(w io.Writer) error {
encrypted_key.go#L141: func SerializeEncryptedKey(w io.Writer, pub *PublicKey, cipherFunc CipherFunction, key []byte, config *Config) error {
encrypted_key.go#L166: func serializeEncryptedKeyRSA(w io.Writer, rand io.Reader, header [10]byte, pub *rsa.PublicKey, keyBlock []byte) error {
encrypted_key.go#L185: func serializeEncryptedKeyElGamal(w io.Writer, rand io.Reader, header [10]byte, pub *elgamal.PublicKey, keyBlock []byte) error {
one_pass_signature.go#L53: func (ops *OnePassSignature) Serialize(w io.Writer) error {
opaque.go#L35: func (op *OpaquePacket) Serialize(w io.Writer) (err error) {
opaque.go#L153: func (osp *OpaqueSubpacket) Serialize(w io.Writer) (err error) {
packet.go#L248: func serializeHeader(w io.Writer, ptype packetType, length int) (err error) {
packet.go#L547: func writeMPI(w io.Writer, bitLength uint16, mpiBytes []byte) (err error) {
packet.go#L559: func writeBig(w io.Writer, i *big.Int) error {
private_key.go#L156: func (pk *PrivateKey) Serialize(w io.Writer) (err error) {
private_key.go#L211: func serializeRSAPrivateKey(w io.Writer, priv *rsa.PrivateKey) error {
private_key.go#L227: func serializeDSAPrivateKey(w io.Writer, priv *dsa.PrivateKey) error {
private_key.go#L231: func serializeElGamalPrivateKey(w io.Writer, priv *elgamal.PrivateKey) error {
private_key.go#L235: func serializeECDSAPrivateKey(w io.Writer, priv *ecdsa.PrivateKey) error {
public_key.go#L73: func (f *ecdsaKey) serialize(w io.Writer) (err error) {
public_key.go#L137: func (f *ecdhKdf) serialize(w io.Writer) (err error) {
public_key.go#L171: SerializeSignaturePrefix(io.Writer)
public_key.go#L172: serializeWithoutHeaders(io.Writer) error
public_key.go#L398: func (pk *PublicKey) SerializeSignaturePrefix(h io.Writer) {
public_key.go#L426: func (pk *PublicKey) Serialize(w io.Writer) (err error) {
public_key.go#L464: func (pk *PublicKey) serializeWithoutHeaders(w io.Writer) (err error) {
public_key.go#L730: func writeMPIs(w io.Writer, mpis ...parsedMPI) (err error) {
public_key_v3.go#L119: func (pk *PublicKeyV3) SerializeSignaturePrefix(w io.Writer) {
public_key_v3.go#L133: func (pk *PublicKeyV3) Serialize(w io.Writer) (err error) {
public_key_v3.go#L156: func (pk *PublicKeyV3) serializeWithoutHeaders(w io.Writer) (err error) {
signature.go#L599: func (sig *Signature) Serialize(w io.Writer) (err error) {
signature_v3.go#L105: func (sig *SignatureV3) Serialize(w io.Writer) (err error) {
symmetric_key_encrypted.go#L103: func SerializeSymmetricKeyEncrypted(w io.Writer, passphrase []byte, config *Config) (key []byte, err error) {
symmetrically_encrypted.go#L241: w io.Writer
symmetrically_encrypted.go#L256: func SerializeSymmetricallyEncrypted(w io.Writer, c CipherFunction, key []byte, config *Config) (contents io.WriteCloser, err error) {
userattribute.go#L69: func (uat *UserAttribute) Serialize(w io.Writer) (err error) {
userid.go#L80: func (uid *UserId) Serialize(w io.Writer) error {
golang.org/x/crypto/openpgp/s2k
s2k.go#L207: func Serialize(w io.Writer, key []byte, rand io.Reader, passphrase []byte, c *Config) error {
golang.org/x/crypto/ssh
cipher.go#L224: func (s *streamPacketCipher) writeCipherPacket(seqNum uint32, w io.Writer, rand io.Reader, packet []byte) error {
cipher.go#L329: func (c *gcmCipher) writeCipherPacket(seqNum uint32, w io.Writer, rand io.Reader, packet []byte) error {
cipher.go#L578: func (c *cbcCipher) writeCipherPacket(seqNum uint32, w io.Writer, rand io.Reader, packet []byte) error {
cipher.go#L729: func (c *chacha20Poly1305Cipher) writeCipherPacket(seqNum uint32, w io.Writer, rand io.Reader, payload []byte) error {
kex.go#L68: func (m *handshakeMagics) write(w io.Writer) {
messages.go#L742: func writeInt(w io.Writer, n *big.Int) {
messages.go#L749: func writeString(w io.Writer, s []byte) {
session.go#L130: Stdout io.Writer
session.go#L131: Stderr io.Writer
session.go#L531: io.Writer
transport.go#L58: writeCipherPacket(seqnum uint32, w io.Writer, rand io.Reader, packet []byte) error
golang.org/x/mod/zip
zip.go#L480: func Create(w io.Writer, m module.Version, files []File) (err error) {
zip.go#L549: func CreateFromDir(w io.Writer, m module.Version, dir string) (err error) {
golang.org/x/net/html
render.go#L16: io.Writer
render.go#L45: func Render(w io.Writer, n *Node) error {
golang.org/x/net/http2
frame.go#L285: w io.Writer
frame.go#L425: func NewFramer(w io.Writer, r io.Reader) *Framer {
http2.go#L245: w io.Writer // immutable
http2.go#L249: func newBufferedWriter(w io.Writer) *bufferedWriter {
pipe.go#L29: io.Writer
transport.go#L395: w io.Writer
golang.org/x/net/http2/hpack
encode.go#L29: w io.Writer
encode.go#L35: func NewEncoder(w io.Writer) *Encoder {
huffman.go#L21: func HuffmanDecode(w io.Writer, v []byte) (int, error) {
golang.org/x/net/trace
events.go#L374: func printStackRecord(w io.Writer, stk []uintptr) {
trace.go#L180: func Render(w io.Writer, req *http.Request, sensitive bool) {
golang.org/x/pkgsite/internal/config
config.go#L545: func (c *Config) Dump(w io.Writer) error {
golang.org/x/pkgsite/internal/dcensus
debug.go#L59: func dumpAttributes(w io.Writer, m map[string]interface{}) {
golang.org/x/pkgsite/internal/godoc/codec
generate.go#L72: func generate(w io.Writer, packageName string, fieldNames map[string][]string, vs ...interface{}) error {
golang.org/x/pkgsite/internal/testing/testhelper
testhelper.go#L74: func writeZip(w io.Writer, contents map[string]string) (err error) {
golang.org/x/text/transform
transform.go#L210: w io.Writer
transform.go#L221: func NewWriter(w io.Writer, t Transformer) *Writer {
golang.org/x/text/unicode/norm
readwriter.go#L11: w io.Writer
readwriter.go#L66: func (f Form) Writer(w io.Writer) io.WriteCloser {
google.golang.org/grpc
rpc_util.go#L51: Do(w io.Writer, p []byte) error
rpc_util.go#L91: func (c *gzipCompressor) Do(w io.Writer, p []byte) error {
google.golang.org/grpc/encoding
encoding.go#L40: Compress(w io.Writer) (io.WriteCloser, error)
google.golang.org/grpc/grpclog
loggerv2.go#L107: func NewLoggerV2(infoW, warningW, errorW io.Writer) LoggerV2 {
loggerv2.go#L113: func NewLoggerV2WithVerbosity(infoW, warningW, errorW io.Writer, v int) LoggerV2 {
google.golang.org/grpc/internal/binarylog
sink.go#L69: func newWriterSink(w io.Writer) *writerSink {
sink.go#L74: out io.Writer
gopkg.in/yaml.v2
apic.go#L121: func yaml_emitter_set_output_writer(emitter *yaml_emitter_t, w io.Writer) {
encode.go#L47: func newEncoderWithWriter(w io.Writer) *encoder {
yaml.go#L217: func NewEncoder(w io.Writer) *Encoder {
yamlh.go#L658: output_writer io.Writer // File output data.
hash
hash.go#L29: io.Writer
html/template
escape.go#L857: func HTMLEscape(w io.Writer, b []byte) {
escape.go#L873: func JSEscape(w io.Writer, b []byte) {
template.go#L120: func (t *Template) Execute(wr io.Writer, data interface{}) error {
template.go#L134: func (t *Template) ExecuteTemplate(wr io.Writer, name string, data interface{}) error {
image/jpeg
writer.go#L213: io.Writer
writer.go#L575: func Encode(w io.Writer, m image.Image, o *Options) error {
log
log.go#L56: out io.Writer // destination for output
log.go#L65: func New(out io.Writer, prefix string, flag int) *Logger {
log.go#L70: func (l *Logger) SetOutput(w io.Writer) {
log.go#L272: func (l *Logger) Writer() io.Writer {
log.go#L279: func SetOutput(w io.Writer) {
log.go#L308: func Writer() io.Writer {
mime/multipart
writer.go#L20: w io.Writer
writer.go#L27: func NewWriter(w io.Writer) *Writer {
writer.go#L97: func (w *Writer) CreatePart(header textproto.MIMEHeader) (io.Writer, error) {
writer.go#L140: func (w *Writer) CreateFormFile(fieldname, filename string) (io.Writer, error) {
writer.go#L151: func (w *Writer) CreateFormField(fieldname string) (io.Writer, error) {
mime/quotedprintable
writer.go#L17: w io.Writer
writer.go#L24: func NewWriter(w io.Writer) *Writer {
net
net.go#L648: io.Writer
net.go#L653: func genericReadFrom(w io.Writer, r io.Reader) (n int64, err error) {
net.go#L699: func (v *Buffers) WriteTo(w io.Writer) (n int64, err error) {
net/http
h2_bundle.go#L1525: w io.Writer
h2_bundle.go#L1668: func http2NewFramer(w io.Writer, r io.Reader) *http2Framer {
h2_bundle.go#L3317: w io.Writer // immutable
h2_bundle.go#L3321: func http2newBufferedWriter(w io.Writer) *http2bufferedWriter {
h2_bundle.go#L3479: io.Writer
h2_bundle.go#L6897: w io.Writer
header.go#L81: func (h Header) Write(w io.Writer) error {
header.go#L85: func (h Header) write(w io.Writer, trace *httptrace.ClientTrace) error {
header.go#L133: w io.Writer
header.go#L182: func (h Header) WriteSubset(w io.Writer, exclude map[string]bool) error {
header.go#L186: func (h Header) writeSubset(w io.Writer, exclude map[string]bool, trace *httptrace.ClientTrace) error {
http.go#L119: func (noBody) WriteTo(io.Writer) (int64, error) { return 0, nil }
request.go#L526: func (r *Request) Write(w io.Writer) error {
request.go#L536: func (r *Request) WriteProxy(w io.Writer) error {
request.go#L547: func (r *Request) write(w io.Writer, usingProxy bool, extraHeaders Header, waitForContinue func() bool) (err error) {
response.go#L245: func (r *Response) Write(w io.Writer) error {
response.go#L351: _, ok := r.Body.(io.Writer)
server.go#L561: io.Writer
server.go#L853: func newBufioWriterSize(w io.Writer, size int) *bufio.Writer {
transfer.go#L273: func (t *transferWriter) writeHeader(w io.Writer, trace *httptrace.ClientTrace) error {
transfer.go#L333: func (t *transferWriter) writeBody(w io.Writer) (err error) {
transfer.go#L408: func (t *transferWriter) doBodyCopy(dst io.Writer, src io.Reader) (n int64, err error) {
transfer.go#L1098: type bufioFlushWriter struct{ w io.Writer }
net/http/httputil
dump.go#L42: io.Writer
dump.go#L273: var dest io.Writer = &b
httputil.go#L35: func NewChunkedWriter(w io.Writer) io.WriteCloser {
persist.go#L240: writeReq func(*http.Request, io.Writer) error
reverseproxy.go#L417: func (p *ReverseProxy) copyResponse(dst io.Writer, src io.Reader, flushInterval time.Duration) error {
reverseproxy.go#L445: func (p *ReverseProxy) copyBuffer(dst io.Writer, src io.Reader, buf []byte) (int64, error) {
reverseproxy.go#L485: io.Writer
net/http/internal
chunked.go#L183: func NewChunkedWriter(w io.Writer) io.WriteCloser {
chunked.go#L190: Wire io.Writer
os
file.go#L164: io.Writer
os/exec
exec.go#L115: Stdout io.Writer
exec.go#L116: Stderr io.Writer
exec.go#L289: func (c *Cmd) writerDescriptor(w io.Writer) (f *os.File, err error) {
runtime/pprof
pprof.go#L138: write func(io.Writer, int) error
pprof.go#L326: func (p *Profile) WriteTo(w io.Writer, debug int) error {
pprof.go#L377: func printCountCycleProfile(w io.Writer, countName, cycleName string, scaler func(int64, float64) (int64, float64), records []runtime.BlockProfileRecord) error {
pprof.go#L404: func printCountProfile(w io.Writer, debug int, name string, p countProfile) error {
pprof.go#L492: func printStackRecord(w io.Writer, stk []uintptr, allFrames bool) {
pprof.go#L524: func WriteHeapProfile(w io.Writer) error {
pprof.go#L535: func writeHeap(w io.Writer, debug int) error {
pprof.go#L541: func writeAlloc(w io.Writer, debug int) error {
pprof.go#L545: func writeHeapInternal(w io.Writer, debug int, defaultSampleType string) error {
pprof.go#L662: func writeThreadCreate(w io.Writer, debug int) error {
pprof.go#L680: func writeGoroutine(w io.Writer, debug int) error {
pprof.go#L687: func writeGoroutineStacks(w io.Writer) error {
pprof.go#L708: func writeRuntimeProfile(w io.Writer, debug int, name string, fetch func([]runtime.StackRecord, []unsafe.Pointer) (int, bool)) error {
pprof.go#L761: func StartCPUProfile(w io.Writer) error {
pprof.go#L795: func profileWriter(w io.Writer) {
pprof.go#L845: func writeBlock(w io.Writer, debug int) error {
pprof.go#L896: func writeMutex(w io.Writer, debug int) error {
pprof_rusage.go#L17: func addMaxRSS(w io.Writer) {
proto.go#L39: w io.Writer
proto.go#L256: func newProfileBuilder(w io.Writer) *profileBuilder {
protomem.go#L15: func writeHeapProto(w io.Writer, p []runtime.MemProfileRecord, rate int64, defaultSampleType string) error {
runtime/trace
trace.go#L120: func Start(w io.Writer) error {
strings
reader.go#L137: func (r *Reader) WriteTo(w io.Writer) (n int64, err error) {
replace.go#L23: WriteString(w io.Writer, s string) (n int, err error)
replace.go#L101: func (r *Replacer) WriteString(w io.Writer, s string) (n int, err error) {
replace.go#L315: w io.Writer
replace.go#L322: func getStringWriter(w io.Writer) io.StringWriter {
replace.go#L336: func (r *genericReplacer) WriteString(w io.Writer, s string) (n int, err error) {
replace.go#L409: func (r *singleStringReplacer) WriteString(w io.Writer, s string) (n int, err error) {
replace.go#L456: func (r *byteReplacer) WriteString(w io.Writer, s string) (n int, err error) {
replace.go#L540: func (r *byteStringReplacer) WriteString(w io.Writer, s string) (n int, err error) {
testing
benchmark.go#L452: func prettyPrint(w io.Writer, x float64, unit string) {
testing.go#L339: w io.Writer
testing.go#L344: func newChattyPrinter(w io.Writer) *chattyPrinter {
testing.go#L388: w io.Writer // For flushToParent.
testing.go#L1318: func (f matchStringOnly) StartCPUProfile(w io.Writer) error { return errMain }
testing.go#L1320: func (f matchStringOnly) WriteProfileTo(string, io.Writer, int) error { return errMain }
testing.go#L1322: func (f matchStringOnly) StartTestLog(io.Writer) {}
testing.go#L1361: StartCPUProfile(io.Writer) error
testing.go#L1363: StartTestLog(io.Writer)
testing.go#L1365: WriteProfileTo(string, io.Writer, int) error
text/tabwriter
tabwriter.go#L93: output io.Writer
tabwriter.go#L211: func (b *Writer) Init(output io.Writer, minwidth, tabwidth, padding int, padchar byte, flags uint) *Writer {
tabwriter.go#L607: func NewWriter(output io.Writer, minwidth, tabwidth, padding int, padchar byte, flags uint) *Writer {
text/template
exec.go#L35: wr io.Writer
exec.go#L181: func (t *Template) ExecuteTemplate(wr io.Writer, name string, data interface{}) error {
exec.go#L202: func (t *Template) Execute(wr io.Writer, data interface{}) error {
exec.go#L206: func (t *Template) execute(wr io.Writer, data interface{}) (err error) {
funcs.go#L603: func HTMLEscape(w io.Writer, b []byte) {
funcs.go#L663: func JSEscape(w io.Writer, b []byte) {
vendor/golang.org/x/net/http2/hpack
encode.go#L29: w io.Writer
encode.go#L35: func NewEncoder(w io.Writer) *Encoder {
huffman.go#L21: func HuffmanDecode(w io.Writer, v []byte) (int, error) {
vendor/golang.org/x/text/transform
transform.go#L210: w io.Writer
transform.go#L221: func NewWriter(w io.Writer, t Transformer) *Writer {
vendor/golang.org/x/text/unicode/norm
readwriter.go#L11: w io.Writer
readwriter.go#L66: func (f Form) Writer(w io.Writer) io.WriteCloser {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |