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

Method Timeout

script_put.go:98–101  ·  view source on GitHub ↗

Timeout is an explicit operation timeout.

(timeout string)

Source from the content-addressed store, hash-verified

96
97// Timeout is an explicit operation timeout.
98func (s *PutScriptService) Timeout(timeout string) *PutScriptService {
99 s.timeout = timeout
100 return s
101}
102
103// MasterTimeout is the timeout for connecting to master.
104func (s *PutScriptService) MasterTimeout(masterTimeout string) *PutScriptService {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected