How to set SessionOptions in Go
Create an instance of SessionOptions and pass them to the CreateSession()
| Field | Required | Type | 
|---|---|---|
| ExecutionTimeout | No | time.Duration | 
| CreationTimeout | No | time.Duration | 
| HeartbeatTimeout | No | time.Duration | 
ExecutionTimeout
Specifies the maximum amount of time the session can run.
- Type: time.Duration
- Default:
CreationTimeout
Specifies how long session creation can take before returning an error.
- Type: time.Duration
- Default:
HeartbeatTimeout
Specifies the heartbeat timeout.
- Type: time.Duration
- Default: