Documentation
¶
Index ¶
- Constants
- func ListWorkersKVs(namespace string) (cloudflare.ListStorageKeysResponse, error)
- func ReadCmdKV(request CmdKVRRequest) ([]byte, error)
- func ReadOutKV(request OutKVRRequest) ([]byte, error)
- func WriteCmdKV(request CmdKVWRequest) (cloudflare.Response, error)
- func WriteOutKV(request OutKVWRequest) (cloudflare.Response, error)
- type CmdKVRRequest
- type CmdKVWRequest
- type NameSpace
- type OutKVRRequest
- type OutKVWRequest
Constants ¶
View Source
const ( WorkerInterval = 3 //(seconds) CmdBucketKeyPrefix = "command" OutBucketKeyPrefix = "output" )
Variables ¶
This section is empty.
Functions ¶
func ListWorkersKVs ¶
func ListWorkersKVs(namespace string) (cloudflare.ListStorageKeysResponse, error)
func ReadCmdKV ¶
func ReadCmdKV(request CmdKVRRequest) ([]byte, error)
func ReadOutKV ¶
func ReadOutKV(request OutKVRRequest) ([]byte, error)
func WriteCmdKV ¶
func WriteCmdKV(request CmdKVWRequest) (cloudflare.Response, error)
func WriteOutKV ¶
func WriteOutKV(request OutKVWRequest) (cloudflare.Response, error)
Types ¶
type CmdKVRRequest ¶
Command key read
type CmdKVWRequest ¶
Command key write
type OutKVRRequest ¶
Output key read
type OutKVWRequest ¶
Output key write
Click to show internal directories.
Click to hide internal directories.