Documentation ¶
Index ¶
Constants ¶
View Source
const DeleteMethod = "delete"
DeleteMethod deletes a record from the store
View Source
const GetMethod = "get"
GetMethod reads a record from the store
View Source
const GetMultipleMethod = "getMultiple"
GetMultipleMethod reads multiple records from the store
View Source
const ServiceName = "state"
ServiceName defines the default state service agent ID
View Source
const SetMethod = "set"
SetMethod writes a record to the store
View Source
const SetMultipleMethod = "setMultiple"
SetMultipleMethod writes multiple records to the store
View Source
const StorageCap = "store"
StorageCap identifies the capability to store state
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteArgs ¶
type DeleteArgs struct {
Key string `json:"key"`
}
type GetMultipleArgs ¶
type GetMultipleArgs struct {
Keys []string `json:"keys"`
}
type GetMultipleResp ¶
type SetMultipleArgs ¶
Click to show internal directories.
Click to hide internal directories.