- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ReadWriter (0.2 sec)
-
src/bufio/bufio.go
} return n, err } // buffered input and output // ReadWriter stores pointers to a [Reader] and a [Writer]. // It implements [io.ReadWriter]. type ReadWriter struct { *Reader *Writer } // NewReadWriter allocates a new [ReadWriter] that dispatches to r and w. func NewReadWriter(r *Reader, w *Writer) *ReadWriter { return &ReadWriter{r, w}
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
internal/http/response-recorder.go
headers bytes.Buffer body bytes.Buffer // Indicate if headers are written in the log headersLogged bool } // Hijack - hijacks the underlying connection func (lrw *ResponseRecorder) Hijack() (net.Conn, *bufio.ReadWriter, error) { hj, ok := lrw.ResponseWriter.(http.Hijacker) if !ok { return nil, nil, fmt.Errorf("response writer does not support hijacking. Type is %T", lrw.ResponseWriter) } return hj.Hijack() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 5.5K bytes - Viewed (0) -
api/go1.18.txt
pkg bufio, method (*Writer) AvailableBuffer() []uint8 pkg bufio, method (ReadWriter) AvailableBuffer() []uint8 pkg bytes, func Cut([]uint8, []uint8) ([]uint8, []uint8, bool) pkg bytes, func Title //deprecated pkg crypto/tls, method (*Conn) NetConn() net.Conn pkg crypto/tls, type Config struct, PreferServerCipherSuites //deprecated pkg crypto/x509, method (*CertPool) Subjects //deprecated pkg debug/buildinfo, func Read(io.ReaderAt) (*debug.BuildInfo, error)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
doc/go1.17_spec.html
Close() error } type Writer interface { Write(p []byte) (n int, err error) Close() error } // ReadWriter's methods are Read, Write, and Close. type ReadWriter interface { Reader // includes methods of Reader in ReadWriter's method set Writer // includes methods of Writer in ReadWriter's method set } </pre> <p>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
Close() error } type Writer interface { Write(p []byte) (n int, err error) Close() error } // ReadWriter's methods are Read, Write, and Close. type ReadWriter interface { Reader // includes methods of Reader in ReadWriter's method set Writer // includes methods of Writer in ReadWriter's method set } </pre> <p> When embedding interfaces, methods with the
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0) -
api/go1.20.txt
pkg net/http/httputil, type ReverseProxy struct, Rewrite func(*ProxyRequest) #53002 pkg net/http, method (*ResponseController) Flush() error #54136 pkg net/http, method (*ResponseController) Hijack() (net.Conn, *bufio.ReadWriter, error) #54136 pkg net/http, method (*ResponseController) SetReadDeadline(time.Time) error #54136 pkg net/http, method (*ResponseController) SetWriteDeadline(time.Time) error #54136
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 21:23:32 UTC 2023 - 602.6K bytes - Viewed (0) -
api/go1.1.txt
pkg bufio, method (*Scanner) Split(SplitFunc) pkg bufio, method (*Scanner) Text() string pkg bufio, method (*Writer) ReadFrom(io.Reader) (int64, error) pkg bufio, method (ReadWriter) ReadFrom(io.Reader) (int64, error) pkg bufio, method (ReadWriter) WriteTo(io.Writer) (int64, error) pkg bufio, type Scanner struct pkg bufio, type SplitFunc func([]uint8, bool) (int, []uint8, error) pkg bufio, var ErrAdvanceTooFar error
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)