MCPcopy
hub / github.com/gin-gonic/gin / WriteString

Method WriteString

response_writer.go:37–37  ·  view source on GitHub ↗

WriteString writes the string into the response body.

(string)

Source from the content-addressed store, hash-verified

35
36 // WriteString writes the string into the response body.
37 WriteString(string) (int, error)
38
39 // Written returns true if the response body was already written.
40 Written() bool

Callers 15

TestCustomRecoveryFunction · 0.65
TestReadNthLineFunction · 0.65
debugPrintLoadTemplateFunction · 0.65
TestUnixSocketFunction · 0.65
TestFileDescriptorFunction · 0.65
TestListenerFunction · 0.65
exampleFromPathFunction · 0.65
TestRouteStaticFileFunction · 0.65
TestRouteStaticFileFSFunction · 0.65
WriteStringMethod · 0.65

Implementers 1

responseWriterresponse_writer.go

Calls

no outgoing calls

Tested by 12

TestCustomRecoveryFunction · 0.52
TestReadNthLineFunction · 0.52
TestUnixSocketFunction · 0.52
TestFileDescriptorFunction · 0.52
TestListenerFunction · 0.52
exampleFromPathFunction · 0.52
TestRouteStaticFileFunction · 0.52
TestRouteStaticFileFSFunction · 0.52
EncodeMethod · 0.52
EncodeMethod · 0.52