MCPcopy Create free account
hub / github.com/RedisGraph/redisgraph-go / SetTimeout

Method SetTimeout

graph.go:112–115  ·  view source on GitHub ↗

SetTimeout sets the timeout member of the QueryOptions struct

(timeout int)

Source from the content-addressed store, hash-verified

110
111// SetTimeout sets the timeout member of the QueryOptions struct
112func (options *QueryOptions) SetTimeout(timeout int) *QueryOptions {
113 options.timeout = timeout
114 return options
115}
116
117// GetTimeout retrieves the timeout of the QueryOptions struct
118func (options *QueryOptions) GetTimeout() int {

Callers 1

TestTimeoutFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestTimeoutFunction · 0.64