package io

Import Path
	io (on golang.org and go.dev)

Dependency Relation
	imports 2 packages, and imported by 211 packages

Involved Source Files Package io provides basic interfaces to I/O primitives. Its primary job is to wrap existing implementations of such primitives, such as those in package os, into shared public interfaces that abstract the functionality, plus some other related primitives. Because these interfaces and primitives wrap lower-level operations with various implementations, unless otherwise informed clients should not assume they are safe for parallel execution. multi.go pipe.go
Code Examples package main import ( "io" "log" "os" "strings" ) func main() { r := strings.NewReader("some io.Reader stream to be read\n") if _, err := io.Copy(os.Stdout, r); err != nil { log.Fatal(err) } } package main import ( "io" "log" "os" "strings" ) func main() { r1 := strings.NewReader("first reader\n") r2 := strings.NewReader("second reader\n") buf := make([]byte, 8) // buf is used here... if _, err := io.CopyBuffer(os.Stdout, r1, buf); err != nil { log.Fatal(err) } // ... reused here also. No need to allocate an extra buffer. if _, err := io.CopyBuffer(os.Stdout, r2, buf); err != nil { log.Fatal(err) } } package main import ( "io" "log" "os" "strings" ) func main() { r := strings.NewReader("some io.Reader stream to be read") if _, err := io.CopyN(os.Stdout, r, 4); err != nil { log.Fatal(err) } } package main import ( "io" "log" "os" "strings" ) func main() { r := strings.NewReader("some io.Reader stream to be read\n") lr := io.LimitReader(r, 4) if _, err := io.Copy(os.Stdout, lr); err != nil { log.Fatal(err) } } package main import ( "io" "log" "os" "strings" ) func main() { r1 := strings.NewReader("first reader ") r2 := strings.NewReader("second reader ") r3 := strings.NewReader("third reader\n") r := io.MultiReader(r1, r2, r3) if _, err := io.Copy(os.Stdout, r); err != nil { log.Fatal(err) } } package main import ( "bytes" "fmt" "io" "log" "strings" ) func main() { r := strings.NewReader("some io.Reader stream to be read\n") var buf1, buf2 bytes.Buffer w := io.MultiWriter(&buf1, &buf2) if _, err := io.Copy(w, r); err != nil { log.Fatal(err) } fmt.Print(buf1.String()) fmt.Print(buf2.String()) } package main import ( "fmt" "io" "log" "os" ) func main() { r, w := io.Pipe() go func() { fmt.Fprint(w, "some io.Reader stream to be read\n") w.Close() }() if _, err := io.Copy(os.Stdout, r); err != nil { log.Fatal(err) } } package main import ( "fmt" "io" "log" "strings" ) func main() { r := strings.NewReader("Go is a general-purpose language designed with systems programming in mind.") b, err := io.ReadAll(r) if err != nil { log.Fatal(err) } fmt.Printf("%s", b) } package main import ( "fmt" "io" "log" "strings" ) func main() { r := strings.NewReader("some io.Reader stream to be read\n") buf := make([]byte, 14) if _, err := io.ReadAtLeast(r, buf, 4); err != nil { log.Fatal(err) } fmt.Printf("%s\n", buf) // buffer smaller than minimal read size. shortBuf := make([]byte, 3) if _, err := io.ReadAtLeast(r, shortBuf, 4); err != nil { fmt.Println("error:", err) } // minimal read size bigger than io.Reader stream longBuf := make([]byte, 64) if _, err := io.ReadAtLeast(r, longBuf, 64); err != nil { fmt.Println("error:", err) } } package main import ( "fmt" "io" "log" "strings" ) func main() { r := strings.NewReader("some io.Reader stream to be read\n") buf := make([]byte, 4) if _, err := io.ReadFull(r, buf); err != nil { log.Fatal(err) } fmt.Printf("%s\n", buf) // minimal read size bigger than io.Reader stream longBuf := make([]byte, 64) if _, err := io.ReadFull(r, longBuf); err != nil { fmt.Println("error:", err) } } package main import ( "io" "log" "os" "strings" ) func main() { r := strings.NewReader("some io.Reader stream to be read\n") s := io.NewSectionReader(r, 5, 17) if _, err := io.Copy(os.Stdout, s); err != nil { log.Fatal(err) } } package main import ( "fmt" "io" "log" "strings" ) func main() { r := strings.NewReader("some io.Reader stream to be read\n") s := io.NewSectionReader(r, 5, 17) buf := make([]byte, 6) if _, err := s.ReadAt(buf, 10); err != nil { log.Fatal(err) } fmt.Printf("%s\n", buf) } package main import ( "io" "log" "os" "strings" ) func main() { r := strings.NewReader("some io.Reader stream to be read\n") s := io.NewSectionReader(r, 5, 17) if _, err := s.Seek(10, io.SeekStart); err != nil { log.Fatal(err) } if _, err := io.Copy(os.Stdout, s); err != nil { log.Fatal(err) } } package main import ( "io" "log" "os" "strings" ) func main() { r := strings.NewReader("some io.Reader stream to be read\n") r.Seek(5, io.SeekStart) // move to the 5th char from the start if _, err := io.Copy(os.Stdout, r); err != nil { log.Fatal(err) } r.Seek(-5, io.SeekEnd) if _, err := io.Copy(os.Stdout, r); err != nil { log.Fatal(err) } } package main import ( "io" "os" "strings" ) func main() { var r io.Reader = strings.NewReader("some io.Reader stream to be read\n") r = io.TeeReader(r, os.Stdout) // Everything read from r will be copied to stdout. io.ReadAll(r) } package main import ( "io" "os" ) func main() { io.WriteString(os.Stdout, "Hello World") }
Package-Level Type Names (total 34, in which 26 are exported)
/* sort exporteds by: | */
ByteReader is the interface that wraps the ReadByte method. ReadByte reads and returns the next byte from the input or any error encountered. If ReadByte returns an error, no input byte was consumed, and the returned byte value is undefined. ReadByte provides an efficient interface for byte-at-time processing. A Reader that does not implement ByteReader can be wrapped using bufio.NewReader to add this method. ( T) ReadByte() (byte, error) ByteScanner (interface) *bufio.Reader bufio.ReadWriter *bytes.Buffer *bytes.Reader compress/flate.Reader (interface) github.com/go-git/go-git/v5/plumbing/format/idxfile.Decoder image/jpeg.Reader (interface) *strings.Reader func encoding/binary.ReadUvarint(r ByteReader) (uint64, error) func encoding/binary.ReadVarint(r ByteReader) (int64, error)
ByteScanner is the interface that adds the UnreadByte method to the basic ReadByte method. UnreadByte causes the next call to ReadByte to return the same byte as the previous call to ReadByte. It may be an error to call UnreadByte twice without an intervening call to ReadByte. ( T) ReadByte() (byte, error) ( T) UnreadByte() error *bufio.Reader bufio.ReadWriter *bytes.Buffer *bytes.Reader github.com/go-git/go-git/v5/plumbing/format/idxfile.Decoder *strings.Reader T : ByteReader
ByteWriter is the interface that wraps the WriteByte method. ( T) WriteByte(c byte) error bufio.ReadWriter *bufio.Writer *bytes.Buffer github.com/go-redis/redis/v8/internal/proto.Writer github.com/yuin/goldmark/util.BufWriter (interface) net/http/internal.FlushAfterChunkWriter *strings.Builder
Closer is the interface that wraps the basic Close method. The behavior of Close after the first call is undefined. Specific implementations may document their own behavior. ( T) Close() error *PipeReader *PipeWriter ReadCloser (interface) ReadSeekCloser (interface) ReadWriteCloser (interface) WriteCloser (interface) io/fs.File (interface) io/fs.ReadDirFile (interface) *archive/zip.ReadCloser *archive/zip.Writer *cloud.google.com/go/cloudtasks/apiv2.Client *cloud.google.com/go/container/apiv1.ClusterManagerClient *cloud.google.com/go/errorreporting.Client *cloud.google.com/go/errorreporting/apiv1beta1.ErrorGroupClient *cloud.google.com/go/errorreporting/apiv1beta1.ErrorStatsClient *cloud.google.com/go/errorreporting/apiv1beta1.ReportErrorsClient *cloud.google.com/go/logging.Client *cloud.google.com/go/logging/apiv2.Client *cloud.google.com/go/logging/apiv2.ConfigClient *cloud.google.com/go/logging/apiv2.MetricsClient *cloud.google.com/go/monitoring/apiv3.AlertPolicyClient *cloud.google.com/go/monitoring/apiv3.GroupClient *cloud.google.com/go/monitoring/apiv3.MetricClient *cloud.google.com/go/monitoring/apiv3.NotificationChannelClient *cloud.google.com/go/monitoring/apiv3.ServiceMonitoringClient *cloud.google.com/go/monitoring/apiv3.UptimeCheckClient *cloud.google.com/go/secretmanager/apiv1.Client *cloud.google.com/go/storage.Client *cloud.google.com/go/storage.Reader *cloud.google.com/go/storage.Writer *cloud.google.com/go/trace/apiv2.Client *compress/flate.Writer *compress/gzip.Reader *compress/gzip.Writer *compress/zlib.Writer crypto/cipher.StreamWriter *crypto/tls.Conn *database/sql.Conn *database/sql.DB *database/sql.Rows *database/sql.Stmt database/sql/driver.Conn (interface) database/sql/driver.Rows (interface) database/sql/driver.RowsColumnTypeDatabaseTypeName (interface) database/sql/driver.RowsColumnTypeLength (interface) database/sql/driver.RowsColumnTypeNullable (interface) database/sql/driver.RowsColumnTypePrecisionScale (interface) database/sql/driver.RowsColumnTypeScanType (interface) database/sql/driver.RowsNextResultSet (interface) database/sql/driver.Stmt (interface) github.com/aws/aws-sdk-go/aws.MultiCloser github.com/aws/aws-sdk-go/aws.ReaderSeekerCloser github.com/go-git/go-billy/v5.File (interface) *github.com/go-git/go-git/v5/plumbing.MemoryObject github.com/go-git/go-git/v5/plumbing/format/idxfile.EntryIter (interface) *github.com/go-git/go-git/v5/plumbing/format/objfile.Reader *github.com/go-git/go-git/v5/plumbing/format/objfile.Writer *github.com/go-git/go-git/v5/plumbing/format/packfile.Packfile *github.com/go-git/go-git/v5/plumbing/format/packfile.Scanner *github.com/go-git/go-git/v5/plumbing/protocol/packp.UploadPackResponse github.com/go-git/go-git/v5/plumbing/transport.ReceivePackSession (interface) github.com/go-git/go-git/v5/plumbing/transport.Session (interface) github.com/go-git/go-git/v5/plumbing/transport.UploadPackSession (interface) github.com/go-git/go-git/v5/plumbing/transport/internal/common.Command (interface) *github.com/go-git/go-git/v5/storage/filesystem.ObjectStorage *github.com/go-git/go-git/v5/storage/filesystem.Storage *github.com/go-git/go-git/v5/storage/filesystem/dotgit.DotGit *github.com/go-git/go-git/v5/storage/filesystem/dotgit.ObjectWriter *github.com/go-git/go-git/v5/storage/filesystem/dotgit.PackWriter github.com/go-redis/redis/v8.Client *github.com/go-redis/redis/v8.ClusterClient github.com/go-redis/redis/v8.Conn *github.com/go-redis/redis/v8.Pipeline github.com/go-redis/redis/v8.Pipeliner (interface) *github.com/go-redis/redis/v8.PubSub *github.com/go-redis/redis/v8.Ring github.com/go-redis/redis/v8.SentinelClient github.com/go-redis/redis/v8.UniversalClient (interface) *github.com/go-redis/redis/v8/internal/pool.Conn *github.com/go-redis/redis/v8/internal/pool.ConnPool github.com/go-redis/redis/v8/internal/pool.Pooler (interface) *github.com/go-redis/redis/v8/internal/pool.SingleConnPool *github.com/go-redis/redis/v8/internal/pool.StickyConnPool github.com/golang-migrate/migrate/v4/database.Driver (interface) *github.com/golang-migrate/migrate/v4/database/postgres.Postgres github.com/golang-migrate/migrate/v4/source.Driver (interface) *github.com/golang-migrate/migrate/v4/source/file.File *github.com/jackc/pgconn.MultiResultReader github.com/jackc/pgx/v4.BatchResults (interface) *github.com/jackc/pgx/v4.LargeObject *github.com/jackc/pgx/v4/stdlib.Conn *github.com/jackc/pgx/v4/stdlib.Rows *github.com/jackc/pgx/v4/stdlib.Stmt *github.com/lib/pq.Listener *github.com/lib/pq.ListenerConn golang.org/x/crypto/ssh.Channel (interface) golang.org/x/crypto/ssh.Client golang.org/x/crypto/ssh.Conn (interface) golang.org/x/crypto/ssh.ServerConn *golang.org/x/crypto/ssh.Session *golang.org/x/net/http2.ClientConn *golang.org/x/net/http2/hpack.Decoder golang.org/x/net/internal/socks.Conn *golang.org/x/pkgsite/internal/database.DB *golang.org/x/pkgsite/internal/postgres.DB *golang.org/x/text/transform.Writer google.golang.org/api/internal.ConnPool (interface) *google.golang.org/grpc.ClientConn google.golang.org/grpc/internal/binarylog.Sink (interface) google.golang.org/grpc/internal/transport.ClientTransport (interface) google.golang.org/grpc/internal/transport.ServerTransport (interface) *gopkg.in/yaml.v2.Encoder *internal/poll.FD mime/multipart.File (interface) *mime/multipart.Part *mime/multipart.Writer *mime/quotedprintable.Writer net.Conn (interface) *net.IPConn net.Listener (interface) net.PacketConn (interface) *net.TCPConn *net.TCPListener *net.UDPConn *net.UnixConn *net.UnixListener net/http.File (interface) *net/http.Server *net/http/httputil.ClientConn *net/http/httputil.ServerConn *net/textproto.Conn *os.File *vendor/golang.org/x/net/http2/hpack.Decoder *vendor/golang.org/x/text/transform.Writer func github.com/go-git/go-git/v5/utils/ioutil.CheckClose(c Closer, err *error) func github.com/go-git/go-git/v5/utils/ioutil.NewReadCloser(r Reader, c Closer) ReadCloser func github.com/go-git/go-git/v5/utils/ioutil.NewWriteCloser(w Writer, c Closer) WriteCloser
A LimitedReader reads from R but limits the amount of data returned to just N bytes. Each call to Read updates N to reflect the new amount remaining. Read returns EOF when N <= 0 or when the underlying R returns EOF. // max bytes remaining // underlying reader (*T) Read(p []byte) (n int, err error) *T : Reader *T : github.com/jbenet/go-context/io.Reader
A PipeReader is the read half of a pipe. Close closes the reader; subsequent writes to the write half of the pipe will return the error ErrClosedPipe. CloseWithError closes the reader; subsequent writes to the write half of the pipe will return the error err. CloseWithError never overwrites the previous error if it exists and always returns nil. Read implements the standard Read interface: it reads data from the pipe, blocking until a writer arrives or the write end is closed. If the write end is closed with an error, that error is returned as err; otherwise err is EOF. *T : Closer *T : ReadCloser *T : Reader *T : github.com/jbenet/go-context/io.Reader func Pipe() (*PipeReader, *PipeWriter)
A PipeWriter is the write half of a pipe. Close closes the writer; subsequent reads from the read half of the pipe will return no bytes and EOF. CloseWithError closes the writer; subsequent reads from the read half of the pipe will return no bytes and the error err, or EOF if err is nil. CloseWithError never overwrites the previous error if it exists and always returns nil. Write implements the standard Write interface: it writes data to the pipe, blocking until one or more readers have consumed all the data or the read end is closed. If the read end is closed with an error, that err is returned as err; otherwise err is ErrClosedPipe. *T : Closer *T : WriteCloser *T : Writer *T : github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.Progress *T : github.com/jbenet/go-context/io.Writer func Pipe() (*PipeReader, *PipeWriter)
ReadCloser is the interface that groups the basic Read and Close methods. ( T) Close() error ( T) Read(p []byte) (n int, err error) *PipeReader ReadSeekCloser (interface) ReadWriteCloser (interface) io/fs.File (interface) io/fs.ReadDirFile (interface) *cloud.google.com/go/storage.Reader *compress/gzip.Reader *crypto/tls.Conn github.com/aws/aws-sdk-go/aws.ReaderSeekerCloser github.com/go-git/go-billy/v5.File (interface) *github.com/go-git/go-git/v5/plumbing/format/objfile.Reader *github.com/go-git/go-git/v5/plumbing/protocol/packp.UploadPackResponse *github.com/jackc/pgx/v4.LargeObject golang.org/x/crypto/ssh.Channel (interface) golang.org/x/net/internal/socks.Conn *internal/poll.FD mime/multipart.File (interface) *mime/multipart.Part net.Conn (interface) *net.IPConn *net.TCPConn *net.UDPConn *net.UnixConn net/http.File (interface) *os.File T : Closer T : Reader T : github.com/jbenet/go-context/io.Reader func NopCloser(r Reader) ReadCloser func io/ioutil.NopCloser(r Reader) ReadCloser func archive/zip.(*File).Open() (ReadCloser, error) func compress/flate.NewReader(r Reader) ReadCloser func compress/flate.NewReaderDict(r Reader, dict []byte) ReadCloser func compress/zlib.NewReader(r Reader) (ReadCloser, error) func compress/zlib.NewReaderDict(r Reader, dict []byte) (ReadCloser, error) func github.com/go-git/go-git/v5/plumbing.DeltaObject.Reader() (ReadCloser, error) func github.com/go-git/go-git/v5/plumbing.EncodedObject.Reader() (ReadCloser, error) func github.com/go-git/go-git/v5/plumbing.(*MemoryObject).Reader() (ReadCloser, error) func github.com/go-git/go-git/v5/plumbing/format/packfile.(*FSObject).Reader() (ReadCloser, error) func github.com/go-git/go-git/v5/plumbing/object.(*Blob).Reader() (ReadCloser, error) func github.com/go-git/go-git/v5/utils/ioutil.NewContextReadCloser(ctx context.Context, r ReadCloser) ReadCloser func github.com/go-git/go-git/v5/utils/ioutil.NewReadCloser(r Reader, c Closer) ReadCloser func github.com/go-git/go-git/v5/utils/ioutil.NewReadCloserOnError(r ReadCloser, notify func(error)) ReadCloser func github.com/golang-migrate/migrate/v4/source.Driver.ReadDown(version uint) (r ReadCloser, identifier string, err error) func github.com/golang-migrate/migrate/v4/source.Driver.ReadUp(version uint) (r ReadCloser, identifier string, err error) func github.com/golang-migrate/migrate/v4/source/file.(*File).ReadDown(version uint) (r ReadCloser, identifier string, err error) func github.com/golang-migrate/migrate/v4/source/file.(*File).ReadUp(version uint) (r ReadCloser, identifier string, err error) func golang.org/x/crypto/openpgp/packet.(*SymmetricallyEncrypted).Decrypt(c packet.CipherFunction, key []byte) (ReadCloser, error) func golang.org/x/mod/zip.File.Open() (ReadCloser, error) func google.golang.org/api/internal/gensupport.CombineBodyMedia(body Reader, bodyContentType string, media Reader, mediaContentType string) (ReadCloser, string) func net/http.MaxBytesReader(w http.ResponseWriter, r ReadCloser, n int64) ReadCloser func os/exec.(*Cmd).StderrPipe() (ReadCloser, error) func os/exec.(*Cmd).StdoutPipe() (ReadCloser, error) func github.com/aws/aws-sdk-go/aws/request.(*Request).SetStreamingBody(reader ReadCloser) func github.com/go-git/go-git/v5/plumbing/protocol/packp.NewUploadPackResponseWithPackfile(req *packp.UploadPackRequest, pf ReadCloser) *packp.UploadPackResponse func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*UploadPackResponse).Decode(reader ReadCloser) error func github.com/go-git/go-git/v5/plumbing/transport/internal/common.DecodeUploadPackResponse(r ReadCloser, req *packp.UploadPackRequest) (*packp.UploadPackResponse, error) func github.com/go-git/go-git/v5/utils/ioutil.NewContextReadCloser(ctx context.Context, r ReadCloser) ReadCloser func github.com/go-git/go-git/v5/utils/ioutil.NewReadCloserOnError(r ReadCloser, notify func(error)) ReadCloser func github.com/golang-migrate/migrate/v4.NewMigration(body ReadCloser, identifier string, version uint, targetVersion int) (*migrate.Migration, error) func net/http.MaxBytesReader(w http.ResponseWriter, r ReadCloser, n int64) ReadCloser
Reader is the interface that wraps the basic Read method. Read reads up to len(p) bytes into p. It returns the number of bytes read (0 <= n <= len(p)) and any error encountered. Even if Read returns n < len(p), it may use all of p as scratch space during the call. If some data is available but not len(p) bytes, Read conventionally returns what is available instead of waiting for more. When Read encounters an error or end-of-file condition after successfully reading n > 0 bytes, it returns the number of bytes read. It may return the (non-nil) error from the same call or return the error (and n == 0) from a subsequent call. An instance of this general case is that a Reader returning a non-zero number of bytes at the end of the input stream may return either err == EOF or err == nil. The next Read should return 0, EOF. Callers should always process the n > 0 bytes returned before considering the error err. Doing so correctly handles I/O errors that happen after reading some bytes and also both of the allowed EOF behaviors. Implementations of Read are discouraged from returning a zero byte count with a nil error, except when len(p) == 0. Callers should treat a return of 0 and nil as indicating that nothing happened; in particular it does not indicate EOF. Implementations must not retain p. ( T) Read(p []byte) (n int, err error) *LimitedReader *PipeReader ReadCloser (interface) ReadSeekCloser (interface) ReadSeeker (interface) ReadWriteCloser (interface) ReadWriter (interface) ReadWriteSeeker (interface) *SectionReader io/fs.File (interface) io/fs.ReadDirFile (interface) *bufio.Reader bufio.ReadWriter *bytes.Buffer *bytes.Reader *cloud.google.com/go/storage.Reader compress/flate.Reader (interface) *compress/gzip.Reader crypto/cipher.StreamReader *crypto/tls.Conn fmt.ScanState (interface) github.com/aws/aws-sdk-go/aws.ReaderSeekerCloser github.com/go-git/go-billy/v5.File (interface) github.com/go-git/go-git/v5/plumbing/format/config.Decoder github.com/go-git/go-git/v5/plumbing/format/idxfile.Decoder *github.com/go-git/go-git/v5/plumbing/format/objfile.Reader *github.com/go-git/go-git/v5/plumbing/protocol/packp.UploadPackResponse *github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.Demuxer *github.com/jackc/pgx/v4.LargeObject github.com/jbenet/go-context/io.Reader (interface) golang.org/x/crypto/ssh.Channel (interface) *golang.org/x/exp/rand.Rand golang.org/x/net/internal/socks.Conn *golang.org/x/text/transform.Reader *google.golang.org/grpc/internal/transport.Stream image/jpeg.Reader (interface) *internal/poll.FD *math/rand.Rand mime/multipart.File (interface) *mime/multipart.Part *mime/quotedprintable.Reader *net.Buffers net.Conn (interface) *net.IPConn *net.TCPConn *net.UDPConn *net.UnixConn net/http.File (interface) *os.File *strings.Reader *vendor/golang.org/x/text/transform.Reader T : github.com/jbenet/go-context/io.Reader func LimitReader(r Reader, n int64) Reader func MultiReader(readers ...Reader) Reader func TeeReader(r Reader, w Writer) Reader func compress/bzip2.NewReader(r Reader) Reader func encoding/base32.NewDecoder(enc *base32.Encoding, r Reader) Reader func encoding/base64.NewDecoder(enc *base64.Encoding, r Reader) Reader func encoding/hex.NewDecoder(r Reader) Reader func encoding/json.(*Decoder).Buffered() Reader func github.com/go-git/go-git/v5/plumbing/transport/internal/common.Command.StderrPipe() (Reader, error) func github.com/go-git/go-git/v5/plumbing/transport/internal/common.Command.StdoutPipe() (Reader, error) func github.com/go-git/go-git/v5/utils/ioutil.NewContextReader(ctx context.Context, r Reader) Reader func github.com/go-git/go-git/v5/utils/ioutil.NewReaderOnError(r Reader, notify func(error)) Reader func github.com/go-git/go-git/v5/utils/ioutil.NonEmptyReader(r Reader) (Reader, error) func golang.org/x/crypto/openpgp/packet.(*Config).Random() Reader func golang.org/x/crypto/ssh.(*Session).StderrPipe() (Reader, error) func golang.org/x/crypto/ssh.(*Session).StdoutPipe() (Reader, error) func golang.org/x/text/unicode/norm.Form.Reader(r Reader) Reader func google.golang.org/api/googleapi.MarshalStyle.JSONReader(v interface{}) (Reader, error) func google.golang.org/api/internal/gensupport.DetermineContentType(media Reader, ctype string) (Reader, string) func google.golang.org/api/internal/gensupport.PrepareUpload(media Reader, chunkSize int) (r Reader, mb *gensupport.MediaBuffer, singleChunk bool) func google.golang.org/api/internal/gensupport.ReaderAtToReader(ra ReaderAt, size int64) Reader func google.golang.org/api/internal/gensupport.(*MediaBuffer).Chunk() (chunk Reader, off int64, size int, err error) func google.golang.org/api/internal/gensupport.(*MediaInfo).UploadRequest(reqHeaders http.Header, body Reader) (newBody Reader, getBody func() (ReadCloser, error), cleanup func()) func google.golang.org/grpc/encoding.Compressor.Decompress(r Reader) (Reader, error) func net/http/httputil.NewChunkedReader(r Reader) Reader func net/http/internal.NewChunkedReader(r Reader) Reader func net/textproto.(*Reader).DotReader() Reader func vendor/golang.org/x/crypto/hkdf.Expand(hash func() hash.Hash, pseudorandomKey, info []byte) Reader func vendor/golang.org/x/crypto/hkdf.New(hash func() hash.Hash, secret, salt, info []byte) Reader func vendor/golang.org/x/text/unicode/norm.Form.Reader(r Reader) Reader func Copy(dst Writer, src Reader) (written int64, err error) func CopyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) func CopyN(dst Writer, src Reader, n int64) (written int64, err error) func LimitReader(r Reader, n int64) Reader func MultiReader(readers ...Reader) Reader func NopCloser(r Reader) ReadCloser func ReadAll(r Reader) ([]byte, error) func ReadAtLeast(r Reader, buf []byte, min int) (n int, err error) func ReadFull(r Reader, buf []byte) (n int, err error) func TeeReader(r Reader, w Writer) Reader func ReaderFrom.ReadFrom(r Reader) (n int64, err error) func io/ioutil.NopCloser(r Reader) ReadCloser func io/ioutil.ReadAll(r Reader) ([]byte, error) func bufio.NewReader(rd Reader) *bufio.Reader func bufio.NewReaderSize(rd Reader, size int) *bufio.Reader func bufio.NewScanner(r Reader) *bufio.Scanner func bufio.(*Reader).Reset(r Reader) func bufio.(*Writer).ReadFrom(r Reader) (n int64, err error) func bytes.(*Buffer).ReadFrom(r Reader) (n int64, err error) func compress/bzip2.NewReader(r Reader) Reader func compress/flate.NewReader(r Reader) ReadCloser func compress/flate.NewReaderDict(r Reader, dict []byte) ReadCloser func compress/flate.Resetter.Reset(r Reader, dict []byte) error func compress/gzip.NewReader(r Reader) (*gzip.Reader, error) func compress/gzip.(*Reader).Reset(r Reader) error func compress/zlib.NewReader(r Reader) (ReadCloser, error) func compress/zlib.NewReaderDict(r Reader, dict []byte) (ReadCloser, error) func compress/zlib.Resetter.Reset(r Reader, dict []byte) error func crypto.Decrypter.Decrypt(rand Reader, msg []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error) func crypto.Signer.Sign(rand Reader, digest []byte, opts crypto.SignerOpts) (signature []byte, err error) func crypto/dsa.GenerateKey(priv *dsa.PrivateKey, rand Reader) error func crypto/dsa.GenerateParameters(params *dsa.Parameters, rand Reader, sizes dsa.ParameterSizes) error func crypto/dsa.Sign(rand Reader, priv *dsa.PrivateKey, hash []byte) (r, s *big.Int, err error) func crypto/ecdsa.GenerateKey(c elliptic.Curve, rand Reader) (*ecdsa.PrivateKey, error) func crypto/ecdsa.Sign(rand Reader, priv *ecdsa.PrivateKey, hash []byte) (r, s *big.Int, err error) func crypto/ecdsa.SignASN1(rand Reader, priv *ecdsa.PrivateKey, hash []byte) ([]byte, error) func crypto/ecdsa.(*PrivateKey).Sign(rand Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) func crypto/ed25519.GenerateKey(rand Reader) (ed25519.PublicKey, ed25519.PrivateKey, error) func crypto/ed25519.PrivateKey.Sign(rand Reader, message []byte, opts crypto.SignerOpts) (signature []byte, err error) func crypto/elliptic.GenerateKey(curve elliptic.Curve, rand Reader) (priv []byte, x, y *big.Int, err error) func crypto/internal/randutil.MaybeReadByte(r Reader) func crypto/rand.Int(rand Reader, max *big.Int) (n *big.Int, err error) func crypto/rand.Prime(rand Reader, bits int) (p *big.Int, err error) func crypto/rsa.DecryptOAEP(hash hash.Hash, random Reader, priv *rsa.PrivateKey, ciphertext []byte, label []byte) ([]byte, error) func crypto/rsa.DecryptPKCS1v15(rand Reader, priv *rsa.PrivateKey, ciphertext []byte) ([]byte, error) func crypto/rsa.DecryptPKCS1v15SessionKey(rand Reader, priv *rsa.PrivateKey, ciphertext []byte, key []byte) error func crypto/rsa.EncryptOAEP(hash hash.Hash, random Reader, pub *rsa.PublicKey, msg []byte, label []byte) ([]byte, error) func crypto/rsa.EncryptPKCS1v15(rand Reader, pub *rsa.PublicKey, msg []byte) ([]byte, error) func crypto/rsa.GenerateKey(random Reader, bits int) (*rsa.PrivateKey, error) func crypto/rsa.GenerateMultiPrimeKey(random Reader, nprimes int, bits int) (*rsa.PrivateKey, error) func crypto/rsa.SignPKCS1v15(rand Reader, priv *rsa.PrivateKey, hash crypto.Hash, hashed []byte) ([]byte, error) func crypto/rsa.SignPSS(rand Reader, priv *rsa.PrivateKey, hash crypto.Hash, digest []byte, opts *rsa.PSSOptions) ([]byte, error) func crypto/rsa.(*PrivateKey).Decrypt(rand Reader, ciphertext []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error) func crypto/rsa.(*PrivateKey).Sign(rand Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) func crypto/x509.CreateCertificate(rand Reader, template, parent *x509.Certificate, pub, priv interface{}) (cert []byte, err error) func crypto/x509.CreateCertificateRequest(rand Reader, template *x509.CertificateRequest, priv interface{}) (csr []byte, err error) func crypto/x509.CreateRevocationList(rand Reader, template *x509.RevocationList, issuer *x509.Certificate, priv crypto.Signer) ([]byte, error) func crypto/x509.EncryptPEMBlock(rand Reader, blockType string, data, password []byte, alg x509.PEMCipher) (*pem.Block, error) func crypto/x509.(*Certificate).CreateCRL(rand Reader, priv interface{}, revokedCerts []pkix.RevokedCertificate, now, expiry time.Time) (crlBytes []byte, err error) func encoding/base32.NewDecoder(enc *base32.Encoding, r Reader) Reader func encoding/base64.NewDecoder(enc *base64.Encoding, r Reader) Reader func encoding/binary.Read(r Reader, order binary.ByteOrder, data interface{}) error func encoding/gob.NewDecoder(r Reader) *gob.Decoder func encoding/hex.NewDecoder(r Reader) Reader func encoding/json.NewDecoder(r Reader) *json.Decoder func encoding/xml.NewDecoder(r Reader) *xml.Decoder func fmt.Fscan(r Reader, a ...interface{}) (n int, err error) func fmt.Fscanf(r Reader, format string, a ...interface{}) (n int, err error) func fmt.Fscanln(r Reader, a ...interface{}) (n int, err error) func github.com/aws/aws-sdk-go/aws.IsReaderSeekable(r Reader) bool func github.com/aws/aws-sdk-go/aws.ReadSeekCloser(r Reader) aws.ReaderSeekerCloser func github.com/aws/aws-sdk-go/aws/endpoints.DecodeModel(r Reader, optFns ...func(*endpoints.DecodeModelOptions)) (endpoints.Resolver, error) func github.com/aws/aws-sdk-go/internal/ini.Parse(f Reader) (ini.Sections, error) func github.com/aws/aws-sdk-go/internal/ini.ParseAST(r Reader) ([]ini.AST, error) func github.com/aws/aws-sdk-go/private/protocol.HandlerPayloadUnmarshal.UnmarshalPayload(r Reader, v interface{}) error func github.com/aws/aws-sdk-go/private/protocol.PayloadUnmarshaler.UnmarshalPayload(Reader, interface{}) error func github.com/aws/aws-sdk-go/private/protocol/json/jsonutil.UnmarshalJSON(v interface{}, stream Reader) error func github.com/aws/aws-sdk-go/private/protocol/json/jsonutil.UnmarshalJSONCaseInsensitive(v interface{}, stream Reader) error func github.com/aws/aws-sdk-go/private/protocol/json/jsonutil.UnmarshalJSONError(v interface{}, stream Reader) error func github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil.UnmarshalXMLError(v interface{}, stream Reader) error func github.com/go-git/gcfg.ReadInto(config interface{}, reader Reader) error func github.com/go-git/gcfg.ReadWithCallback(reader Reader, callback func(string, string, string, string, bool) error) error func github.com/go-git/go-git/v5/config.ReadConfig(r Reader) (*config.Config, error) func github.com/go-git/go-git/v5/internal/revision.NewParser(r Reader) *revision.Parser func github.com/go-git/go-git/v5/plumbing/format/config.NewDecoder(r Reader) *config.Decoder func github.com/go-git/go-git/v5/plumbing/format/idxfile.NewDecoder(r Reader) *idxfile.Decoder func github.com/go-git/go-git/v5/plumbing/format/index.NewDecoder(r Reader) *index.Decoder func github.com/go-git/go-git/v5/plumbing/format/objfile.NewReader(r Reader) (*objfile.Reader, error) func github.com/go-git/go-git/v5/plumbing/format/packfile.NewScanner(r Reader) *packfile.Scanner func github.com/go-git/go-git/v5/plumbing/format/packfile.UpdateObjectStorage(s storer.Storer, packfile Reader) error func github.com/go-git/go-git/v5/plumbing/format/packfile.WritePackfileToObjectStorage(sw storer.PackfileWriter, packfile Reader) (err error) func github.com/go-git/go-git/v5/plumbing/format/packfile.(*Scanner).Reset(r Reader) func github.com/go-git/go-git/v5/plumbing/format/pktline.NewScanner(r Reader) *pktline.Scanner func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*AdvRefs).Decode(r Reader) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*ReferenceUpdateRequest).Decode(r Reader) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*ReportStatus).Decode(r Reader) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*ShallowUpdate).Decode(reader Reader) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*UploadRequest).Decode(r Reader) error func github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.NewDemuxer(t sideband.Type, r Reader) *sideband.Demuxer func github.com/go-git/go-git/v5/utils/binary.IsBinary(r Reader) (bool, error) func github.com/go-git/go-git/v5/utils/binary.Read(r Reader, data ...interface{}) error func github.com/go-git/go-git/v5/utils/binary.ReadHash(r Reader) (plumbing.Hash, error) func github.com/go-git/go-git/v5/utils/binary.ReadUint16(r Reader) (uint16, error) func github.com/go-git/go-git/v5/utils/binary.ReadUint32(r Reader) (uint32, error) func github.com/go-git/go-git/v5/utils/binary.ReadUint64(r Reader) (uint64, error) func github.com/go-git/go-git/v5/utils/binary.ReadUntil(r Reader, delim byte) ([]byte, error) func github.com/go-git/go-git/v5/utils/binary.ReadVariableWidthInt(r Reader) (int64, error) func github.com/go-git/go-git/v5/utils/ioutil.NewContextReader(ctx context.Context, r Reader) Reader func github.com/go-git/go-git/v5/utils/ioutil.NewReadCloser(r Reader, c Closer) ReadCloser func github.com/go-git/go-git/v5/utils/ioutil.NewReaderOnError(r Reader, notify func(error)) Reader func github.com/go-git/go-git/v5/utils/ioutil.NonEmptyReader(r Reader) (Reader, error) func github.com/go-redis/redis/v8/internal/proto.NewReader(rd Reader) *proto.Reader func github.com/go-redis/redis/v8/internal/proto.(*Reader).Reset(rd Reader) func github.com/golang-migrate/migrate/v4/database.Driver.Run(migration Reader) error func github.com/golang-migrate/migrate/v4/database/postgres.(*Postgres).Run(migration Reader) error func github.com/google/pprof/profile.Parse(r Reader) (*profile.Profile, error) func github.com/google/pprof/profile.ParseProcMaps(rd Reader) ([]*profile.Mapping, error) func github.com/google/pprof/profile.(*Profile).ParseMemoryMap(rd Reader) error func github.com/jackc/chunkreader/v2.New(r Reader) *chunkreader.ChunkReader func github.com/jackc/chunkreader/v2.NewConfig(r Reader, config chunkreader.Config) (*chunkreader.ChunkReader, error) func github.com/jackc/pgconn.(*PgConn).CopyFrom(ctx context.Context, r Reader, sql string) (pgconn.CommandTag, error) func github.com/jackc/pgpassfile.ParsePassfile(r Reader) (*pgpassfile.Passfile, error) func github.com/jackc/pgproto3/v2.NewChunkReader(r Reader) pgproto3.ChunkReader func github.com/jackc/pgservicefile.ParseServicefile(r Reader) (*pgservicefile.Servicefile, error) func github.com/jbenet/go-context/io.NewReader(ctx context.Context, r Reader) *ctxio.ctxReader func github.com/kevinburke/ssh_config.Decode(r Reader) (*ssh_config.Config, error) func github.com/matttproud/golang_protobuf_extensions/pbutil.ReadDelimited(r Reader, m proto.Message) (n int, err error) func github.com/microcosm-cc/bluemonday.(*Policy).SanitizeReader(r Reader) *bytes.Buffer func github.com/prometheus/common/expfmt.NewDecoder(r Reader, format expfmt.Format) expfmt.Decoder func github.com/prometheus/common/expfmt.(*TextParser).TextToMetricFamilies(in Reader) (map[string]*dto.MetricFamily, error) func github.com/prometheus/procfs.NewNetUnixByReader(reader Reader) (*procfs.NetUnix, error) func golang.org/x/crypto/ed25519.GenerateKey(rand Reader) (ed25519.PublicKey, ed25519.PrivateKey, error) func golang.org/x/crypto/openpgp.ArmoredDetachSign(w Writer, signer *openpgp.Entity, message Reader, config *packet.Config) (err error) func golang.org/x/crypto/openpgp.ArmoredDetachSignText(w Writer, signer *openpgp.Entity, message Reader, config *packet.Config) error func golang.org/x/crypto/openpgp.CheckArmoredDetachedSignature(keyring openpgp.KeyRing, signed, signature Reader) (signer *openpgp.Entity, err error) func golang.org/x/crypto/openpgp.CheckDetachedSignature(keyring openpgp.KeyRing, signed, signature Reader) (signer *openpgp.Entity, err error) func golang.org/x/crypto/openpgp.DetachSign(w Writer, signer *openpgp.Entity, message Reader, config *packet.Config) error func golang.org/x/crypto/openpgp.DetachSignText(w Writer, signer *openpgp.Entity, message Reader, config *packet.Config) error func golang.org/x/crypto/openpgp.ReadArmoredKeyRing(r Reader) (openpgp.EntityList, error) func golang.org/x/crypto/openpgp.ReadKeyRing(r Reader) (el openpgp.EntityList, err error) func golang.org/x/crypto/openpgp.ReadMessage(r Reader, keyring openpgp.KeyRing, prompt openpgp.PromptFunction, config *packet.Config) (md *openpgp.MessageDetails, err error) func golang.org/x/crypto/openpgp/armor.Decode(in Reader) (p *armor.Block, err error) func golang.org/x/crypto/openpgp/elgamal.Encrypt(random Reader, pub *elgamal.PublicKey, msg []byte) (c1, c2 *big.Int, err error) func golang.org/x/crypto/openpgp/packet.NewOpaqueReader(r Reader) *packet.OpaqueReader func golang.org/x/crypto/openpgp/packet.NewReader(r Reader) *packet.Reader func golang.org/x/crypto/openpgp/packet.Read(r Reader) (p packet.Packet, err error) func golang.org/x/crypto/openpgp/packet.(*Reader).Push(reader Reader) (err error) func golang.org/x/crypto/openpgp/s2k.Parse(r Reader) (f func(out, in []byte), err error) func golang.org/x/crypto/openpgp/s2k.Serialize(w Writer, key []byte, rand Reader, passphrase []byte, c *s2k.Config) error func golang.org/x/crypto/ssh.AlgorithmSigner.Sign(rand Reader, data []byte) (*ssh.Signature, error) func golang.org/x/crypto/ssh.AlgorithmSigner.SignWithAlgorithm(rand Reader, data []byte, algorithm string) (*ssh.Signature, error) func golang.org/x/crypto/ssh.(*Certificate).SignCert(rand Reader, authority ssh.Signer) error func golang.org/x/crypto/ssh.Signer.Sign(rand Reader, data []byte) (*ssh.Signature, error) func golang.org/x/net/context/ctxhttp.Post(ctx context.Context, client *http.Client, url string, bodyType string, body Reader) (*http.Response, error) func golang.org/x/net/html.NewTokenizer(r Reader) *html.Tokenizer func golang.org/x/net/html.NewTokenizerFragment(r Reader, contextTag string) *html.Tokenizer func golang.org/x/net/html.Parse(r Reader) (*html.Node, error) func golang.org/x/net/html.ParseFragment(r Reader, context *html.Node) ([]*html.Node, error) func golang.org/x/net/html.ParseFragmentWithOptions(r Reader, context *html.Node, opts ...html.ParseOption) ([]*html.Node, error) func golang.org/x/net/html.ParseWithOptions(r Reader, opts ...html.ParseOption) (*html.Node, error) func golang.org/x/net/http2.NewFramer(w Writer, r Reader) *http2.Framer func golang.org/x/net/http2.ReadFrameHeader(r Reader) (http2.FrameHeader, error) func golang.org/x/pkgsite/internal/testing/htmlcheck.Run(reader Reader, checker htmlcheck.Checker) error func golang.org/x/text/transform.NewReader(r Reader, t transform.Transformer) *transform.Reader func golang.org/x/text/unicode/norm.Form.Reader(r Reader) Reader func google.golang.org/api/internal/gensupport.CombineBodyMedia(body Reader, bodyContentType string, media Reader, mediaContentType string) (ReadCloser, string) func google.golang.org/api/internal/gensupport.CombineBodyMedia(body Reader, bodyContentType string, media Reader, mediaContentType string) (ReadCloser, string) func google.golang.org/api/internal/gensupport.DetermineContentType(media Reader, ctype string) (Reader, string) func google.golang.org/api/internal/gensupport.NewInfoFromMedia(r Reader, options []googleapi.MediaOption) *gensupport.MediaInfo func google.golang.org/api/internal/gensupport.NewMediaBuffer(media Reader, chunkSize int) *gensupport.MediaBuffer func google.golang.org/api/internal/gensupport.PrepareUpload(media Reader, chunkSize int) (r Reader, mb *gensupport.MediaBuffer, singleChunk bool) func google.golang.org/api/internal/gensupport.(*MediaInfo).UploadRequest(reqHeaders http.Header, body Reader) (newBody Reader, getBody func() (ReadCloser, error), cleanup func()) func google.golang.org/api/storage/v1.(*ObjectsInsertCall).Media(r Reader, options ...googleapi.MediaOption) *storage.ObjectsInsertCall func google.golang.org/grpc.Decompressor.Do(r Reader) ([]byte, error) func google.golang.org/grpc/encoding.Compressor.Decompress(r Reader) (Reader, error) func gopkg.in/yaml.v2.NewDecoder(r Reader) *yaml.Decoder func image.Decode(r Reader) (image.Image, string, error) func image.DecodeConfig(r Reader) (image.Config, string, error) func image/jpeg.Decode(r Reader) (image.Image, error) func image/jpeg.DecodeConfig(r Reader) (image.Config, error) func mime/multipart.NewReader(r Reader, boundary string) *multipart.Reader func mime/quotedprintable.NewReader(r Reader) *quotedprintable.Reader func net.(*TCPConn).ReadFrom(r Reader) (int64, error) func net/http.NewRequest(method, url string, body Reader) (*http.Request, error) func net/http.NewRequestWithContext(ctx context.Context, method, url string, body Reader) (*http.Request, error) func net/http.Post(url, contentType string, body Reader) (resp *http.Response, err error) func net/http.(*Client).Post(url, contentType string, body Reader) (resp *http.Response, err error) func net/http/httptest.NewRequest(method, target string, body Reader) *http.Request func net/http/httputil.NewChunkedReader(r Reader) Reader func net/http/internal.NewChunkedReader(r Reader) Reader func os.(*File).ReadFrom(r Reader) (n int64, err error) func vendor/golang.org/x/text/transform.NewReader(r Reader, t transform.Transformer) *transform.Reader func vendor/golang.org/x/text/unicode/norm.Form.Reader(r Reader) Reader var crypto/rand.Reader var github.com/aws/aws-sdk-go/private/protocol.RandReader
ReaderAt is the interface that wraps the basic ReadAt method. ReadAt reads len(p) bytes into p starting at offset off in the underlying input source. It returns the number of bytes read (0 <= n <= len(p)) and any error encountered. When ReadAt returns n < len(p), it returns a non-nil error explaining why more bytes were not returned. In this respect, ReadAt is stricter than Read. Even if ReadAt returns n < len(p), it may use all of p as scratch space during the call. If some data is available but not len(p) bytes, ReadAt blocks until either all the data is available or an error occurs. In this respect ReadAt is different from Read. If the n = len(p) bytes returned by ReadAt are at the end of the input source, ReadAt may return either err == EOF or err == nil. If ReadAt is reading from an input source with a seek offset, ReadAt should not affect nor be affected by the underlying seek offset. Clients of ReadAt can execute parallel ReadAt calls on the same input source. Implementations must not retain p. ( T) ReadAt(p []byte, off int64) (n int, err error) *SectionReader *bytes.Reader github.com/go-git/go-billy/v5.File (interface) google.golang.org/api/googleapi.SizeReaderAt (interface) mime/multipart.File (interface) *os.File *strings.Reader func NewSectionReader(r ReaderAt, off int64, n int64) *SectionReader func archive/zip.NewReader(r ReaderAt, size int64) (*zip.Reader, error) func google.golang.org/api/internal/gensupport.NewInfoFromResumableMedia(r ReaderAt, size int64, mediaType string) *gensupport.MediaInfo func google.golang.org/api/internal/gensupport.ReaderAtToReader(ra ReaderAt, size int64) Reader func google.golang.org/api/storage/v1.(*ObjectsInsertCall).ResumableMedia(ctx context.Context, r ReaderAt, size int64, mediaType string) *storage.ObjectsInsertCall
ReaderFrom is the interface that wraps the ReadFrom method. ReadFrom reads data from r until EOF or error. The return value n is the number of bytes read. Any error except EOF encountered during the read is also returned. The Copy function uses ReaderFrom if available. ( T) ReadFrom(r Reader) (n int64, err error) bufio.ReadWriter *bufio.Writer *bytes.Buffer *net.TCPConn net/http/internal.FlushAfterChunkWriter *os.File
ReadSeekCloser is the interface that groups the basic Read, Seek and Close methods. ( T) Close() error ( T) Read(p []byte) (n int, err error) ( T) Seek(offset int64, whence int) (int64, error) github.com/aws/aws-sdk-go/aws.ReaderSeekerCloser github.com/go-git/go-billy/v5.File (interface) *github.com/jackc/pgx/v4.LargeObject *internal/poll.FD mime/multipart.File (interface) net/http.File (interface) *os.File T : Closer T : ReadCloser T : Reader T : ReadSeeker T : Seeker T : github.com/jbenet/go-context/io.Reader
ReadSeeker is the interface that groups the basic Read and Seek methods. ( T) Read(p []byte) (n int, err error) ( T) Seek(offset int64, whence int) (int64, error) ReadSeekCloser (interface) ReadWriteSeeker (interface) *SectionReader *bytes.Reader github.com/aws/aws-sdk-go/aws.ReaderSeekerCloser github.com/go-git/go-billy/v5.File (interface) *github.com/jackc/pgx/v4.LargeObject *internal/poll.FD mime/multipart.File (interface) net/http.File (interface) *os.File *strings.Reader T : Reader T : Seeker T : github.com/jbenet/go-context/io.Reader func github.com/aws/aws-sdk-go/aws/request.(*Request).GetBody() ReadSeeker func github.com/aws/aws-sdk-go/aws.CopySeekableBody(dst Writer, src ReadSeeker) (int64, error) func github.com/aws/aws-sdk-go/aws/request.(*Request).SetReaderBody(reader ReadSeeker) func github.com/aws/aws-sdk-go/aws/signer/v4.Signer.Presign(r *http.Request, body ReadSeeker, service, region string, exp time.Duration, signTime time.Time) (http.Header, error) func github.com/aws/aws-sdk-go/aws/signer/v4.Signer.Sign(r *http.Request, body ReadSeeker, service, region string, signTime time.Time) (http.Header, error) func net/http.ServeContent(w http.ResponseWriter, req *http.Request, name string, modtime time.Time, content ReadSeeker)
ReadWriteCloser is the interface that groups the basic Read, Write and Close methods. ( T) Close() error ( T) Read(p []byte) (n int, err error) ( T) Write(p []byte) (n int, err error) *crypto/tls.Conn github.com/go-git/go-billy/v5.File (interface) *github.com/jackc/pgx/v4.LargeObject golang.org/x/crypto/ssh.Channel (interface) golang.org/x/net/internal/socks.Conn *internal/poll.FD net.Conn (interface) *net.IPConn *net.TCPConn *net.UDPConn *net.UnixConn *os.File T : Closer T : ReadCloser T : Reader T : ReadWriter T : WriteCloser T : Writer T : github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.Progress T : github.com/jbenet/go-context/io.Reader T : github.com/jbenet/go-context/io.Writer func net/textproto.NewConn(conn ReadWriteCloser) *textproto.Conn
ReadWriter is the interface that groups the basic Read and Write methods. ( T) Read(p []byte) (n int, err error) ( T) Write(p []byte) (n int, err error) ReadWriteCloser (interface) ReadWriteSeeker (interface) bufio.ReadWriter *bytes.Buffer *crypto/tls.Conn github.com/go-git/go-billy/v5.File (interface) *github.com/jackc/pgx/v4.LargeObject golang.org/x/crypto/ssh.Channel (interface) golang.org/x/net/internal/socks.Conn *internal/poll.FD net.Conn (interface) *net.IPConn *net.TCPConn *net.UDPConn *net.UnixConn *os.File T : Reader T : Writer T : github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.Progress T : github.com/jbenet/go-context/io.Reader T : github.com/jbenet/go-context/io.Writer func golang.org/x/crypto/ssh.Channel.Stderr() ReadWriter func golang.org/x/crypto/ssh/agent.NewClient(rw ReadWriter) agent.ExtendedAgent func golang.org/x/crypto/ssh/agent.ServeAgent(agent agent.Agent, c ReadWriter) error func golang.org/x/net/internal/socks.(*UsernamePassword).Authenticate(ctx context.Context, rw ReadWriter, auth socks.AuthMethod) error
ReadWriteSeeker is the interface that groups the basic Read, Write and Seek methods. ( T) Read(p []byte) (n int, err error) ( T) Seek(offset int64, whence int) (int64, error) ( T) Write(p []byte) (n int, err error) github.com/go-git/go-billy/v5.File (interface) *github.com/jackc/pgx/v4.LargeObject *internal/poll.FD *os.File T : Reader T : ReadSeeker T : ReadWriter T : Seeker T : Writer T : WriteSeeker T : github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.Progress T : github.com/jbenet/go-context/io.Reader T : github.com/jbenet/go-context/io.Writer
RuneReader is the interface that wraps the ReadRune method. ReadRune reads a single UTF-8 encoded Unicode character and returns the rune and its size in bytes. If no character is available, err will be set. ( T) ReadRune() (r rune, size int, err error) RuneScanner (interface) *bufio.Reader bufio.ReadWriter *bytes.Buffer *bytes.Reader fmt.ScanState (interface) github.com/go-git/go-git/v5/plumbing/format/idxfile.Decoder github.com/yuin/goldmark/text.BlockReader (interface) github.com/yuin/goldmark/text.Reader (interface) *strings.Reader func regexp.MatchReader(pattern string, r RuneReader) (matched bool, err error) func regexp.(*Regexp).FindReaderIndex(r RuneReader) (loc []int) func regexp.(*Regexp).FindReaderSubmatchIndex(r RuneReader) []int func regexp.(*Regexp).MatchReader(r RuneReader) bool
RuneScanner is the interface that adds the UnreadRune method to the basic ReadRune method. UnreadRune causes the next call to ReadRune to return the same rune as the previous call to ReadRune. It may be an error to call UnreadRune twice without an intervening call to ReadRune. ( T) ReadRune() (r rune, size int, err error) ( T) UnreadRune() error *bufio.Reader bufio.ReadWriter *bytes.Buffer *bytes.Reader fmt.ScanState (interface) github.com/go-git/go-git/v5/plumbing/format/idxfile.Decoder *strings.Reader T : RuneReader
SectionReader implements Read, Seek, and ReadAt on a section of an underlying ReaderAt. (*T) Read(p []byte) (n int, err error) (*T) ReadAt(p []byte, off int64) (n int, err error) (*T) Seek(offset int64, whence int) (int64, error) Size returns the size of the section in bytes. *T : Reader *T : ReaderAt *T : ReadSeeker *T : Seeker *T : github.com/jbenet/go-context/io.Reader *T : google.golang.org/api/googleapi.SizeReaderAt func NewSectionReader(r ReaderAt, off int64, n int64) *SectionReader
Seeker is the interface that wraps the basic Seek method. Seek sets the offset for the next Read or Write to offset, interpreted according to whence: SeekStart means relative to the start of the file, SeekCurrent means relative to the current offset, and SeekEnd means relative to the end. Seek returns the new offset relative to the start of the file and an error, if any. Seeking to an offset before the start of the file is an error. Seeking to any positive offset is legal, but the behavior of subsequent I/O operations on the underlying object is implementation-dependent. ( T) Seek(offset int64, whence int) (int64, error) ReadSeekCloser (interface) ReadSeeker (interface) ReadWriteSeeker (interface) *SectionReader WriteSeeker (interface) *bytes.Reader github.com/aws/aws-sdk-go/aws.ReaderSeekerCloser github.com/go-git/go-billy/v5.File (interface) *github.com/jackc/pgx/v4.LargeObject *golang.org/x/text/unicode/norm.Iter *internal/poll.FD mime/multipart.File (interface) net/http.File (interface) *os.File *strings.Reader *vendor/golang.org/x/text/unicode/norm.Iter func github.com/aws/aws-sdk-go/aws.SeekerLen(s Seeker) (int64, error)
StringWriter is the interface that wraps the WriteString method. ( T) WriteString(s string) (n int, err error) bufio.ReadWriter *bufio.Writer *bytes.Buffer *github.com/cespare/xxhash/v2.Digest github.com/go-redis/redis/v8/internal/proto.Writer github.com/yuin/goldmark/util.BufWriter (interface) *net/http/httptest.ResponseRecorder net/http/internal.FlushAfterChunkWriter *os.File *strings.Builder
WriteCloser is the interface that groups the basic Write and Close methods. ( T) Close() error ( T) Write(p []byte) (n int, err error) *PipeWriter ReadWriteCloser (interface) *cloud.google.com/go/storage.Writer *compress/flate.Writer *compress/gzip.Writer *compress/zlib.Writer crypto/cipher.StreamWriter *crypto/tls.Conn github.com/go-git/go-billy/v5.File (interface) *github.com/go-git/go-git/v5/plumbing.MemoryObject *github.com/go-git/go-git/v5/plumbing/format/objfile.Writer *github.com/go-git/go-git/v5/storage/filesystem/dotgit.ObjectWriter *github.com/go-git/go-git/v5/storage/filesystem/dotgit.PackWriter *github.com/go-redis/redis/v8/internal/pool.Conn *github.com/jackc/pgx/v4.LargeObject golang.org/x/crypto/ssh.Channel (interface) *golang.org/x/net/http2/hpack.Decoder golang.org/x/net/internal/socks.Conn *golang.org/x/text/transform.Writer *internal/poll.FD *mime/quotedprintable.Writer net.Conn (interface) *net.IPConn *net.TCPConn *net.UDPConn *net.UnixConn *os.File *vendor/golang.org/x/net/http2/hpack.Decoder *vendor/golang.org/x/text/transform.Writer T : Closer T : Writer T : github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.Progress T : github.com/jbenet/go-context/io.Writer func encoding/base32.NewEncoder(enc *base32.Encoding, w Writer) WriteCloser func encoding/base64.NewEncoder(enc *base64.Encoding, w Writer) WriteCloser func encoding/hex.Dumper(w Writer) WriteCloser func github.com/go-git/go-git/v5/plumbing.DeltaObject.Writer() (WriteCloser, error) func github.com/go-git/go-git/v5/plumbing.EncodedObject.Writer() (WriteCloser, error) func github.com/go-git/go-git/v5/plumbing.(*MemoryObject).Writer() (WriteCloser, error) func github.com/go-git/go-git/v5/plumbing/format/packfile.(*FSObject).Writer() (WriteCloser, error) func github.com/go-git/go-git/v5/plumbing/storer.PackfileWriter.PackfileWriter() (WriteCloser, error) func github.com/go-git/go-git/v5/plumbing/transport/internal/common.Command.StdinPipe() (WriteCloser, error) func github.com/go-git/go-git/v5/storage/filesystem.(*ObjectStorage).PackfileWriter() (WriteCloser, error) func github.com/go-git/go-git/v5/utils/ioutil.NewContextWriteCloser(ctx context.Context, w WriteCloser) WriteCloser func github.com/go-git/go-git/v5/utils/ioutil.NewWriteCloser(w Writer, c Closer) WriteCloser func github.com/go-git/go-git/v5/utils/ioutil.NewWriteCloserOnError(w WriteCloser, notify func(error)) WriteCloser func github.com/go-git/go-git/v5/utils/ioutil.WriteNopCloser(w Writer) WriteCloser func golang.org/x/crypto/openpgp.Encrypt(ciphertext Writer, to []*openpgp.Entity, signed *openpgp.Entity, hints *openpgp.FileHints, config *packet.Config) (plaintext WriteCloser, err error) func golang.org/x/crypto/openpgp.Sign(output Writer, signed *openpgp.Entity, hints *openpgp.FileHints, config *packet.Config) (input WriteCloser, err error) func golang.org/x/crypto/openpgp.SymmetricallyEncrypt(ciphertext Writer, passphrase []byte, hints *openpgp.FileHints, config *packet.Config) (plaintext WriteCloser, err error) func golang.org/x/crypto/openpgp/armor.Encode(out Writer, blockType string, headers map[string]string) (w WriteCloser, err error) func golang.org/x/crypto/openpgp/packet.SerializeCompressed(w WriteCloser, algo packet.CompressionAlgo, cc *packet.CompressionConfig) (literaldata WriteCloser, err error) func golang.org/x/crypto/openpgp/packet.SerializeLiteral(w WriteCloser, isBinary bool, fileName string, time uint32) (plaintext WriteCloser, err error) func golang.org/x/crypto/openpgp/packet.SerializeSymmetricallyEncrypted(w Writer, c packet.CipherFunction, key []byte, config *packet.Config) (contents WriteCloser, err error) func golang.org/x/crypto/ssh.(*Session).StdinPipe() (WriteCloser, error) func golang.org/x/text/unicode/norm.Form.Writer(w Writer) WriteCloser func google.golang.org/grpc/encoding.Compressor.Compress(w Writer) (WriteCloser, error) func net/http/httputil.NewChunkedWriter(w Writer) WriteCloser func net/http/internal.NewChunkedWriter(w Writer) WriteCloser func net/textproto.(*Writer).DotWriter() WriteCloser func os/exec.(*Cmd).StdinPipe() (WriteCloser, error) func vendor/golang.org/x/text/unicode/norm.Form.Writer(w Writer) WriteCloser func github.com/go-git/go-git/v5/utils/ioutil.NewContextWriteCloser(ctx context.Context, w WriteCloser) WriteCloser func github.com/go-git/go-git/v5/utils/ioutil.NewWriteCloserOnError(w WriteCloser, notify func(error)) WriteCloser func golang.org/x/crypto/openpgp/packet.SerializeCompressed(w WriteCloser, algo packet.CompressionAlgo, cc *packet.CompressionConfig) (literaldata WriteCloser, err error) func golang.org/x/crypto/openpgp/packet.SerializeLiteral(w WriteCloser, isBinary bool, fileName string, time uint32) (plaintext WriteCloser, err error)
Writer is the interface that wraps the basic Write method. Write writes len(p) bytes from p to the underlying data stream. It returns the number of bytes written from p (0 <= n <= len(p)) and any error encountered that caused the write to stop early. Write must return a non-nil error if it returns n < len(p). Write must not modify the slice data, even temporarily. Implementations must not retain p. ( T) Write(p []byte) (n int, err error) *PipeWriter ReadWriteCloser (interface) ReadWriter (interface) ReadWriteSeeker (interface) WriteCloser (interface) WriteSeeker (interface) bufio.ReadWriter *bufio.Writer *bytes.Buffer *cloud.google.com/go/storage.Writer *compress/flate.Writer *compress/gzip.Writer *compress/zlib.Writer crypto/cipher.StreamWriter *crypto/tls.Conn fmt.State (interface) *github.com/cespare/xxhash/v2.Digest github.com/go-git/go-billy/v5.File (interface) github.com/go-git/go-git/v5/plumbing.Hasher *github.com/go-git/go-git/v5/plumbing.MemoryObject github.com/go-git/go-git/v5/plumbing/format/diff.UnifiedEncoder github.com/go-git/go-git/v5/plumbing/format/idxfile.Encoder *github.com/go-git/go-git/v5/plumbing/format/objfile.Writer *github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.Muxer github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.Progress (interface) *github.com/go-git/go-git/v5/storage/filesystem/dotgit.ObjectWriter *github.com/go-git/go-git/v5/storage/filesystem/dotgit.PackWriter *github.com/go-redis/redis/v8/internal/pool.Conn github.com/go-redis/redis/v8/internal/proto.Writer *github.com/jackc/pgx/v4.LargeObject github.com/jbenet/go-context/io.Writer (interface) github.com/yuin/goldmark/util.BufWriter (interface) *golang.org/x/crypto/poly1305.MAC golang.org/x/crypto/ssh.Channel (interface) *golang.org/x/net/http2/hpack.Decoder golang.org/x/net/internal/socks.Conn *golang.org/x/text/transform.Writer hash.Hash (interface) hash.Hash32 (interface) hash.Hash64 (interface) *internal/poll.FD *mime/quotedprintable.Writer net.Conn (interface) *net.IPConn *net.TCPConn *net.UDPConn *net.UnixConn net/http.ResponseWriter (interface) *net/http/httptest.ResponseRecorder net/http/internal.FlushAfterChunkWriter *os.File *strings.Builder *text/tabwriter.Writer *vendor/golang.org/x/crypto/poly1305.MAC *vendor/golang.org/x/net/http2/hpack.Decoder *vendor/golang.org/x/text/transform.Writer T : github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.Progress T : github.com/jbenet/go-context/io.Writer func MultiWriter(writers ...Writer) Writer func archive/zip.(*Writer).Create(name string) (Writer, error) func archive/zip.(*Writer).CreateHeader(fh *zip.FileHeader) (Writer, error) func encoding/hex.NewEncoder(w Writer) Writer func flag.(*FlagSet).Output() Writer func github.com/go-git/go-git/v5/utils/ioutil.NewContextWriter(ctx context.Context, w Writer) Writer func github.com/go-git/go-git/v5/utils/ioutil.NewWriterOnError(w Writer, notify func(error)) Writer func log.Writer() Writer func log.(*Logger).Writer() Writer func mime/multipart.(*Writer).CreateFormField(fieldname string) (Writer, error) func mime/multipart.(*Writer).CreateFormFile(fieldname, filename string) (Writer, error) func mime/multipart.(*Writer).CreatePart(header textproto.MIMEHeader) (Writer, error) func Copy(dst Writer, src Reader) (written int64, err error) func CopyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) func CopyN(dst Writer, src Reader, n int64) (written int64, err error) func MultiWriter(writers ...Writer) Writer func TeeReader(r Reader, w Writer) Reader func WriteString(w Writer, s string) (n int, err error) func WriterTo.WriteTo(w Writer) (n int64, err error) func archive/zip.NewWriter(w Writer) *zip.Writer func bufio.NewWriter(w Writer) *bufio.Writer func bufio.NewWriterSize(w Writer, size int) *bufio.Writer func bufio.(*Reader).WriteTo(w Writer) (n int64, err error) func bufio.(*Writer).Reset(w Writer) func bytes.(*Buffer).WriteTo(w Writer) (n int64, err error) func bytes.(*Reader).WriteTo(w Writer) (n int64, err error) func compress/flate.NewWriter(w Writer, level int) (*flate.Writer, error) func compress/flate.NewWriterDict(w Writer, level int, dict []byte) (*flate.Writer, error) func compress/flate.(*Writer).Reset(dst Writer) func compress/gzip.NewWriter(w Writer) *gzip.Writer func compress/gzip.NewWriterLevel(w Writer, level int) (*gzip.Writer, error) func compress/gzip.(*Writer).Reset(w Writer) func compress/zlib.NewWriter(w Writer) *zlib.Writer func compress/zlib.NewWriterLevel(w Writer, level int) (*zlib.Writer, error) func compress/zlib.NewWriterLevelDict(w Writer, level int, dict []byte) (*zlib.Writer, error) func compress/zlib.(*Writer).Reset(w Writer) func encoding/base32.NewEncoder(enc *base32.Encoding, w Writer) WriteCloser func encoding/base64.NewEncoder(enc *base64.Encoding, w Writer) WriteCloser func encoding/binary.Write(w Writer, order binary.ByteOrder, data interface{}) error func encoding/gob.NewEncoder(w Writer) *gob.Encoder func encoding/hex.Dumper(w Writer) WriteCloser func encoding/hex.NewEncoder(w Writer) Writer func encoding/json.NewEncoder(w Writer) *json.Encoder func encoding/pem.Encode(out Writer, b *pem.Block) error func encoding/xml.Escape(w Writer, s []byte) func encoding/xml.EscapeText(w Writer, s []byte) error func encoding/xml.NewEncoder(w Writer) *xml.Encoder func flag.(*FlagSet).SetOutput(output Writer) func fmt.Fprint(w Writer, a ...interface{}) (n int, err error) func fmt.Fprintf(w Writer, format string, a ...interface{}) (n int, err error) func fmt.Fprintln(w Writer, a ...interface{}) (n int, err error) func github.com/aws/aws-sdk-go/aws.CopySeekableBody(dst Writer, src ReadSeeker) (int64, error) func github.com/aws/aws-sdk-go/private/protocol.HandlerPayloadMarshal.MarshalPayload(w Writer, v interface{}) error func github.com/aws/aws-sdk-go/private/protocol.PayloadMarshaler.MarshalPayload(Writer, interface{}) error func github.com/go-git/gcfg/scanner.PrintError(w Writer, err error) func github.com/go-git/go-git/v5/plumbing/format/config.NewEncoder(w Writer) *config.Encoder func github.com/go-git/go-git/v5/plumbing/format/diff.NewUnifiedEncoder(w Writer, contextLines int) *diff.UnifiedEncoder func github.com/go-git/go-git/v5/plumbing/format/idxfile.NewEncoder(w Writer) *idxfile.Encoder func github.com/go-git/go-git/v5/plumbing/format/index.NewEncoder(w Writer) *index.Encoder func github.com/go-git/go-git/v5/plumbing/format/objfile.NewWriter(w Writer) *objfile.Writer func github.com/go-git/go-git/v5/plumbing/format/packfile.NewEncoder(w Writer, s storer.EncodedObjectStorer, useRefDeltas bool) *packfile.Encoder func github.com/go-git/go-git/v5/plumbing/format/packfile.(*Scanner).NextObject(w Writer) (written int64, crc32 uint32, err error) func github.com/go-git/go-git/v5/plumbing/format/pktline.NewEncoder(w Writer) *pktline.Encoder func github.com/go-git/go-git/v5/plumbing/object.(*Patch).Encode(w Writer) error func github.com/go-git/go-git/v5/plumbing/object.(*Signature).Encode(w Writer) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*AdvRefs).Encode(w Writer) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*ReferenceUpdateRequest).Encode(w Writer) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*ReportStatus).Encode(w Writer) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*ServerResponse).Encode(w Writer) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*ShallowUpdate).Encode(w Writer) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*UploadHaves).Encode(w Writer, flush bool) error func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*UploadPackResponse).Encode(w Writer) (err error) func github.com/go-git/go-git/v5/plumbing/protocol/packp.(*UploadRequest).Encode(w Writer) error func github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.NewMuxer(t sideband.Type, w Writer) *sideband.Muxer func github.com/go-git/go-git/v5/utils/binary.Write(w Writer, data ...interface{}) error func github.com/go-git/go-git/v5/utils/binary.WriteUint16(w Writer, value uint16) error func github.com/go-git/go-git/v5/utils/binary.WriteUint32(w Writer, value uint32) error func github.com/go-git/go-git/v5/utils/binary.WriteUint64(w Writer, value uint64) error func github.com/go-git/go-git/v5/utils/binary.WriteVariableWidthInt(w Writer, n int64) error func github.com/go-git/go-git/v5/utils/ioutil.NewContextWriter(ctx context.Context, w Writer) Writer func github.com/go-git/go-git/v5/utils/ioutil.NewWriteCloser(w Writer, c Closer) WriteCloser func github.com/go-git/go-git/v5/utils/ioutil.NewWriterOnError(w Writer, notify func(error)) Writer func github.com/go-git/go-git/v5/utils/ioutil.WriteNopCloser(w Writer) WriteCloser func github.com/golang/protobuf/proto.CompactText(w Writer, m proto.Message) error func github.com/golang/protobuf/proto.MarshalText(w Writer, m proto.Message) error func github.com/golang/protobuf/proto.(*TextMarshaler).Marshal(w Writer, m proto.Message) error func github.com/google/pprof/profile.(*Profile).Write(w Writer) error func github.com/google/pprof/profile.(*Profile).WriteUncompressed(w Writer) error func github.com/google/safehtml/template.(*Template).Execute(wr Writer, data interface{}) error func github.com/google/safehtml/template.(*Template).ExecuteTemplate(wr Writer, name string, data interface{}) error func github.com/jackc/pgconn.(*PgConn).CopyTo(ctx context.Context, w Writer, sql string) (pgconn.CommandTag, error) func github.com/jackc/pgproto3/v2.NewBackend(cr pgproto3.ChunkReader, w Writer) *pgproto3.Backend func github.com/jackc/pgproto3/v2.NewFrontend(cr pgproto3.ChunkReader, w Writer) *pgproto3.Frontend func github.com/jbenet/go-context/io.NewWriter(ctx context.Context, w Writer) *ctxio.ctxWriter func github.com/matttproud/golang_protobuf_extensions/pbutil.WriteDelimited(w Writer, m proto.Message) (n int, err error) func github.com/prometheus/common/expfmt.MetricFamilyToText(out Writer, in *dto.MetricFamily) (written int, err error) func github.com/prometheus/common/expfmt.NewEncoder(w Writer, format expfmt.Format) expfmt.Encoder func github.com/russross/blackfriday/v2.(*HTMLRenderer).RenderFooter(w Writer, ast *blackfriday.Node) func github.com/russross/blackfriday/v2.(*HTMLRenderer).RenderHeader(w Writer, ast *blackfriday.Node) func github.com/russross/blackfriday/v2.(*HTMLRenderer).RenderNode(w Writer, node *blackfriday.Node, entering bool) blackfriday.WalkStatus func github.com/russross/blackfriday/v2.Renderer.RenderFooter(w Writer, ast *blackfriday.Node) func github.com/russross/blackfriday/v2.Renderer.RenderHeader(w Writer, ast *blackfriday.Node) func github.com/russross/blackfriday/v2.Renderer.RenderNode(w Writer, node *blackfriday.Node, entering bool) blackfriday.WalkStatus func github.com/russross/blackfriday/v2.(*SPRenderer).Process(w Writer, text []byte) func github.com/yuin/goldmark.Convert(source []byte, w Writer, opts ...parser.ParseOption) error func github.com/yuin/goldmark.Markdown.Convert(source []byte, writer Writer, opts ...parser.ParseOption) error func github.com/yuin/goldmark/renderer.Renderer.Render(w Writer, source []byte, n ast.Node) error func go.opencensus.io/zpages.WriteHTMLRpczPage(w Writer) func go.opencensus.io/zpages.WriteHTMLRpczSummary(w Writer) func go.opencensus.io/zpages.WriteHTMLTracezPage(w Writer, spanName string, spanType, spanSubtype int) func go.opencensus.io/zpages.WriteHTMLTracezSpans(w Writer, spanName string, spanType, spanSubtype int) func go.opencensus.io/zpages.WriteHTMLTracezSummary(w Writer) func go.opencensus.io/zpages.WriteTextRpczPage(w Writer) func go.opencensus.io/zpages.WriteTextTracezSpans(w Writer, spanName string, spanType, spanSubtype int) func go.opencensus.io/zpages.WriteTextTracezSummary(w Writer) func go/ast.Fprint(w Writer, fset *token.FileSet, x interface{}, f ast.FieldFilter) error func go/doc.ToHTML(w Writer, text string, words map[string]string) func go/doc.ToText(w Writer, text string, indent, preIndent string, width int) func go/format.Node(dst Writer, fset *token.FileSet, node interface{}) error func go/printer.Fprint(output Writer, fset *token.FileSet, node interface{}) error func go/printer.(*Config).Fprint(output Writer, fset *token.FileSet, node interface{}) error func go/scanner.PrintError(w Writer, err error) func golang.org/x/crypto/openpgp.ArmoredDetachSign(w Writer, signer *openpgp.Entity, message Reader, config *packet.Config) (err error) func golang.org/x/crypto/openpgp.ArmoredDetachSignText(w Writer, signer *openpgp.Entity, message Reader, config *packet.Config) error func golang.org/x/crypto/openpgp.DetachSign(w Writer, signer *openpgp.Entity, message Reader, config *packet.Config) error func golang.org/x/crypto/openpgp.DetachSignText(w Writer, signer *openpgp.Entity, message Reader, config *packet.Config) error func golang.org/x/crypto/openpgp.Encrypt(ciphertext Writer, to []*openpgp.Entity, signed *openpgp.Entity, hints *openpgp.FileHints, config *packet.Config) (plaintext WriteCloser, err error) func golang.org/x/crypto/openpgp.Sign(output Writer, signed *openpgp.Entity, hints *openpgp.FileHints, config *packet.Config) (input WriteCloser, err error) func golang.org/x/crypto/openpgp.SymmetricallyEncrypt(ciphertext Writer, passphrase []byte, hints *openpgp.FileHints, config *packet.Config) (plaintext WriteCloser, err error) func golang.org/x/crypto/openpgp.(*Entity).Serialize(w Writer) error func golang.org/x/crypto/openpgp.(*Entity).SerializePrivate(w Writer, config *packet.Config) (err error) func golang.org/x/crypto/openpgp/armor.Encode(out Writer, blockType string, headers map[string]string) (w WriteCloser, err error) func golang.org/x/crypto/openpgp/packet.SerializeEncryptedKey(w Writer, pub *packet.PublicKey, cipherFunc packet.CipherFunction, key []byte, config *packet.Config) error func golang.org/x/crypto/openpgp/packet.SerializeSymmetricallyEncrypted(w Writer, c packet.CipherFunction, key []byte, config *packet.Config) (contents WriteCloser, err error) func golang.org/x/crypto/openpgp/packet.SerializeSymmetricKeyEncrypted(w Writer, passphrase []byte, config *packet.Config) (key []byte, err error) func golang.org/x/crypto/openpgp/packet.(*EncryptedKey).Serialize(w Writer) error func golang.org/x/crypto/openpgp/packet.(*OnePassSignature).Serialize(w Writer) error func golang.org/x/crypto/openpgp/packet.(*OpaquePacket).Serialize(w Writer) (err error) func golang.org/x/crypto/openpgp/packet.(*OpaqueSubpacket).Serialize(w Writer) (err error) func golang.org/x/crypto/openpgp/packet.(*PrivateKey).Serialize(w Writer) (err error) func golang.org/x/crypto/openpgp/packet.(*PublicKey).Serialize(w Writer) (err error) func golang.org/x/crypto/openpgp/packet.(*PublicKey).SerializeSignaturePrefix(h Writer) func golang.org/x/crypto/openpgp/packet.(*PublicKeyV3).Serialize(w Writer) (err error) func golang.org/x/crypto/openpgp/packet.(*PublicKeyV3).SerializeSignaturePrefix(w Writer) func golang.org/x/crypto/openpgp/packet.(*Signature).Serialize(w Writer) (err error) func golang.org/x/crypto/openpgp/packet.(*SignatureV3).Serialize(w Writer) (err error) func golang.org/x/crypto/openpgp/packet.(*UserAttribute).Serialize(w Writer) (err error) func golang.org/x/crypto/openpgp/packet.(*UserId).Serialize(w Writer) error func golang.org/x/crypto/openpgp/s2k.Serialize(w Writer, key []byte, rand Reader, passphrase []byte, c *s2k.Config) error func golang.org/x/mod/zip.Create(w Writer, m module.Version, files []zip.File) (err error) func golang.org/x/mod/zip.CreateFromDir(w Writer, m module.Version, dir string) (err error) func golang.org/x/net/html.Render(w Writer, n *html.Node) error func golang.org/x/net/http2.NewFramer(w Writer, r Reader) *http2.Framer func golang.org/x/net/http2/hpack.HuffmanDecode(w Writer, v []byte) (int, error) func golang.org/x/net/http2/hpack.NewEncoder(w Writer) *hpack.Encoder func golang.org/x/net/trace.Render(w Writer, req *http.Request, sensitive bool) func golang.org/x/pkgsite/internal/config.(*Config).Dump(w Writer) error func golang.org/x/text/transform.NewWriter(w Writer, t transform.Transformer) *transform.Writer func golang.org/x/text/unicode/norm.Form.Writer(w Writer) WriteCloser func google.golang.org/grpc.Compressor.Do(w Writer, p []byte) error func google.golang.org/grpc/encoding.Compressor.Compress(w Writer) (WriteCloser, error) func google.golang.org/grpc/grpclog.NewLoggerV2(infoW, warningW, errorW Writer) grpclog.LoggerV2 func google.golang.org/grpc/grpclog.NewLoggerV2WithVerbosity(infoW, warningW, errorW Writer, v int) grpclog.LoggerV2 func gopkg.in/yaml.v2.NewEncoder(w Writer) *yaml.Encoder func html/template.HTMLEscape(w Writer, b []byte) func html/template.JSEscape(w Writer, b []byte) func html/template.(*Template).Execute(wr Writer, data interface{}) error func html/template.(*Template).ExecuteTemplate(wr Writer, name string, data interface{}) error func image/jpeg.Encode(w Writer, m image.Image, o *jpeg.Options) error func log.New(out Writer, prefix string, flag int) *log.Logger func log.SetOutput(w Writer) func log.(*Logger).SetOutput(w Writer) func mime/multipart.NewWriter(w Writer) *multipart.Writer func mime/quotedprintable.NewWriter(w Writer) *quotedprintable.Writer func net.(*Buffers).WriteTo(w Writer) (n int64, err error) func net/http.Header.Write(w Writer) error func net/http.Header.WriteSubset(w Writer, exclude map[string]bool) error func net/http.(*Request).Write(w Writer) error func net/http.(*Request).WriteProxy(w Writer) error func net/http.(*Response).Write(w Writer) error func net/http/httputil.NewChunkedWriter(w Writer) WriteCloser func net/http/internal.NewChunkedWriter(w Writer) WriteCloser func runtime/pprof.StartCPUProfile(w Writer) error func runtime/pprof.WriteHeapProfile(w Writer) error func runtime/pprof.(*Profile).WriteTo(w Writer, debug int) error func runtime/trace.Start(w Writer) error func strings.(*Reader).WriteTo(w Writer) (n int64, err error) func strings.(*Replacer).WriteString(w Writer, s string) (n int, err error) func text/tabwriter.NewWriter(output Writer, minwidth, tabwidth, padding int, padchar byte, flags uint) *tabwriter.Writer func text/tabwriter.(*Writer).Init(output Writer, minwidth, tabwidth, padding int, padchar byte, flags uint) *tabwriter.Writer func text/template.HTMLEscape(w Writer, b []byte) func text/template.JSEscape(w Writer, b []byte) func text/template.(*Template).Execute(wr Writer, data interface{}) error func text/template.(*Template).ExecuteTemplate(wr Writer, name string, data interface{}) error func vendor/golang.org/x/net/http2/hpack.HuffmanDecode(w Writer, v []byte) (int, error) func vendor/golang.org/x/net/http2/hpack.NewEncoder(w Writer) *hpack.Encoder func vendor/golang.org/x/text/transform.NewWriter(w Writer, t transform.Transformer) *transform.Writer func vendor/golang.org/x/text/unicode/norm.Form.Writer(w Writer) WriteCloser var Discard var io/ioutil.Discard
WriterAt is the interface that wraps the basic WriteAt method. WriteAt writes len(p) bytes from p to the underlying data stream at offset off. It returns the number of bytes written from p (0 <= n <= len(p)) and any error encountered that caused the write to stop early. WriteAt must return a non-nil error if it returns n < len(p). If WriteAt is writing to a destination with a seek offset, WriteAt should not affect nor be affected by the underlying seek offset. Clients of WriteAt can execute parallel WriteAt calls on the same destination if the ranges do not overlap. Implementations must not retain p. ( T) WriteAt(p []byte, off int64) (n int, err error) *github.com/aws/aws-sdk-go/aws.WriteAtBuffer *os.File
WriterTo is the interface that wraps the WriteTo method. WriteTo writes data to w until there's no more data to write or when an error occurs. The return value n is the number of bytes written. Any error encountered during the write is also returned. The Copy function uses WriterTo if available. ( T) WriteTo(w Writer) (n int64, err error) *bufio.Reader bufio.ReadWriter *bytes.Buffer *bytes.Reader github.com/go-git/go-git/v5/plumbing/format/idxfile.Decoder *net.Buffers *strings.Reader
WriteSeeker is the interface that groups the basic Write and Seek methods. ( T) Seek(offset int64, whence int) (int64, error) ( T) Write(p []byte) (n int, err error) ReadWriteSeeker (interface) github.com/go-git/go-billy/v5.File (interface) *github.com/jackc/pgx/v4.LargeObject *internal/poll.FD *os.File T : Seeker T : Writer T : github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.Progress T : github.com/jbenet/go-context/io.Writer
Package-Level Functions (total 15, in which 14 are exported)
Copy copies from src to dst until either EOF is reached on src or an error occurs. It returns the number of bytes copied and the first error encountered while copying, if any. A successful Copy returns err == nil, not err == EOF. Because Copy is defined to read from src until EOF, it does not treat an EOF from Read as an error to be reported. If src implements the WriterTo interface, the copy is implemented by calling src.WriteTo(dst). Otherwise, if dst implements the ReaderFrom interface, the copy is implemented by calling dst.ReadFrom(src).
CopyBuffer is identical to Copy except that it stages through the provided buffer (if one is required) rather than allocating a temporary one. If buf is nil, one is allocated; otherwise if it has zero length, CopyBuffer panics. If either src implements WriterTo or dst implements ReaderFrom, buf will not be used to perform the copy.
CopyN copies n bytes (or until an error) from src to dst. It returns the number of bytes copied and the earliest error encountered while copying. On return, written == n if and only if err == nil. If dst implements the ReaderFrom interface, the copy is implemented using it.
LimitReader returns a Reader that reads from r but stops with EOF after n bytes. The underlying implementation is a *LimitedReader.
MultiReader returns a Reader that's the logical concatenation of the provided input readers. They're read sequentially. Once all inputs have returned EOF, Read will return EOF. If any of the readers return a non-nil, non-EOF error, Read will return that error.
MultiWriter creates a writer that duplicates its writes to all the provided writers, similar to the Unix tee(1) command. Each write is written to each listed writer, one at a time. If a listed writer returns an error, that overall write operation stops and returns the error; it does not continue down the list.
NewSectionReader returns a SectionReader that reads from r starting at offset off and stops with EOF after n bytes.
NopCloser returns a ReadCloser with a no-op Close method wrapping the provided Reader r.
Pipe creates a synchronous in-memory pipe. It can be used to connect code expecting an io.Reader with code expecting an io.Writer. Reads and Writes on the pipe are matched one to one except when multiple Reads are needed to consume a single Write. That is, each Write to the PipeWriter blocks until it has satisfied one or more Reads from the PipeReader that fully consume the written data. The data is copied directly from the Write to the corresponding Read (or Reads); there is no internal buffering. It is safe to call Read and Write in parallel with each other or with Close. Parallel calls to Read and parallel calls to Write are also safe: the individual calls will be gated sequentially.
ReadAll reads from r until an error or EOF and returns the data it read. A successful call returns err == nil, not err == EOF. Because ReadAll is defined to read from src until EOF, it does not treat an EOF from Read as an error to be reported.
ReadAtLeast reads from r into buf until it has read at least min bytes. It returns the number of bytes copied and an error if fewer bytes were read. The error is EOF only if no bytes were read. If an EOF happens after reading fewer than min bytes, ReadAtLeast returns ErrUnexpectedEOF. If min is greater than the length of buf, ReadAtLeast returns ErrShortBuffer. On return, n >= min if and only if err == nil. If r returns an error having read at least min bytes, the error is dropped.
ReadFull reads exactly len(buf) bytes from r into buf. It returns the number of bytes copied and an error if fewer bytes were read. The error is EOF only if no bytes were read. If an EOF happens after reading some but not all the bytes, ReadFull returns ErrUnexpectedEOF. On return, n == len(buf) if and only if err == nil. If r returns an error having read at least len(buf) bytes, the error is dropped.
TeeReader returns a Reader that writes to w what it reads from r. All reads from r performed through it are matched with corresponding writes to w. There is no internal buffering - the write must complete before the read completes. Any error encountered while writing is reported as a read error.
WriteString writes the contents of the string s to w, which accepts a slice of bytes. If w implements StringWriter, its WriteString method is invoked directly. Otherwise, w.Write is called exactly once.
Package-Level Variables (total 11, in which 7 are exported)
Discard is an Writer on which all Write calls succeed without doing anything.
EOF is the error returned by Read when no more input is available. (Read must return EOF itself, not an error wrapping EOF, because callers will test for EOF using ==.) Functions should return EOF only to signal a graceful end of input. If the EOF occurs unexpectedly in a structured data stream, the appropriate error is either ErrUnexpectedEOF or some other error giving more detail.
ErrClosedPipe is the error used for read or write operations on a closed pipe.
ErrNoProgress is returned by some clients of an Reader when many calls to Read have failed to return any data or error, usually the sign of a broken Reader implementation.
ErrShortBuffer means that a read required a longer buffer than was provided.
ErrShortWrite means that a write accepted fewer bytes than requested but failed to return an explicit error.
ErrUnexpectedEOF means that EOF was encountered in the middle of reading a fixed-size block or data structure.
Package-Level Constants (total 3, all are exported)
Seek whence values.
Seek whence values.
Seek whence values.