MCPcopy
hub / github.com/silenceper/wechat / String

Method String

officialaccount/server/util.go:30–33  ·  view source on GitHub ↗

String render from string

(str string)

Source from the content-addressed store, hash-verified

28
29// String render from string
30func (srv *Server) String(str string) {
31 writeContextType(srv.Writer, plainContentType)
32 srv.Render([]byte(str))
33}
34
35// XML render to xml
36func (srv *Server) XML(obj interface{}) {

Callers 7

ServeMethod · 0.95
ErrorMethod · 0.45
BridgeConfigMethod · 0.45
OrderParamFunction · 0.45
DecodeWithErrorFunction · 0.45
ListUserOpenIDsMethod · 0.45
buildResponseMethod · 0.45

Calls 2

RenderMethod · 0.95
writeContextTypeFunction · 0.85

Tested by

no test coverage detected