* SetState set a state @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param key state key @return ApiSetStateRequest */
(ctx context.Context, key string)
| 148 | @return ApiSetStateRequest |
| 149 | */ |
| 150 | func (a *StateAPIService) SetState(ctx context.Context, key string) ApiSetStateRequest { |
| 151 | return ApiSetStateRequest{ |
| 152 | ApiService: a, |
| 153 | ctx: ctx, |
| 154 | key: key, |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | // Execute executes the request |
| 159 | func (a *StateAPIService) SetStateExecute(r ApiSetStateRequest) (*http.Response, error) { |
no outgoing calls