MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / Write

Method Write

internal/nodes/http_writer.go:807–816  ·  view source on GitHub ↗

Write 写入数据

(data []byte)

Source from the content-addressed store, hash-verified

805
806// Write 写入数据
807func (this *HTTPWriter) Write(data []byte) (n int, err error) {
808 if this.webpIsEncoding {
809 return
810 }
811 n, err = this.writer.Write(data)
812
813 this.checkPlanBandwidth(n)
814
815 return
816}
817
818// WriteString 写入字符串
819func (this *HTTPWriter) WriteString(s string) (n int, err error) {

Callers 1

WriteStringMethod · 0.95

Calls 2

checkPlanBandwidthMethod · 0.95
WriteMethod · 0.65

Tested by

no test coverage detected