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

Function errorf

httptap.go:155–160  ·  view source on GitHub ↗
(fmt string, parts ...interface{})

Source from the content-addressed store, hash-verified

153var errorColor = color.New(color.FgRed, color.Bold)
154
155func errorf(fmt string, parts ...interface{}) {
156 if !strings.HasSuffix(fmt, "\n") {
157 fmt += "\n"
158 }
159 errorColor.Printf(fmt, parts...)
160}
161
162func Main() error {
163 ctx := context.Background()

Callers 14

proxyHTTPSFunction · 0.70
proxyHTTPSchemeFunction · 0.70
proxyBytesFunction · 0.70
HandleTCPMethod · 0.70
handleDNSFunction · 0.70
serializeUDPFunction · 0.70
handlePanicFunction · 0.70
goHandlePanicFunction · 0.70
copyToDeviceFunction · 0.70
readFromDeviceFunction · 0.70
RejectMethod · 0.70
CloseMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected