MCPcopy Create free account
hub / github.com/olivere/elastic / BodyString

Method BodyString

script_put.go:116–119  ·  view source on GitHub ↗

BodyString is the document encoded as a string.

(body string)

Source from the content-addressed store, hash-verified

114
115// BodyString is the document encoded as a string.
116func (s *PutScriptService) BodyString(body string) *PutScriptService {
117 s.bodyString = body
118 return s
119}
120
121// buildURL builds the URL for the operation.
122func (s *PutScriptService) buildURL() (string, string, url.Values, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected