MCPcopy
hub / github.com/monasticacademy/httptap / Write

Method Write

http.go:124–128  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

122}
123
124func (conn *countBytesConn) Write(b []byte) (int, error) {
125 n, err := conn.Conn.Write(b)
126 conn.written += int64(n)
127 return n, err
128}
129
130func ipFromAddr(addr net.Addr) net.IP {
131 switch addr := addr.(type) {

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected