Module protos::sp_kv

source ·
Expand description

Generated file from sp_kv.proto

Structs

  • “POST /api/v1/kv” accepts JSON of this type for it’s request payload. This is converted by BroadcastKV() to a KVCommand
  • Container for one or more KVObject’s; snitch-server broadcasts KVCommand that contains one or more of these instructions when a “POST /api/v1/kv” request is made.
  • KVObject represents a single KV object used in protos.KVInstruction; this is constructed by snitch-server and broadcasted out to other snitch-server nodes.
  • Used for broadcasting KV instructions to other snitch-server nodes. NOTE: While this data structure is similar to KVCommand it makes sense to keep them separate. It would cause more confusion if we tried to re-use KVCommand for the purpose of broadcasting AND for sending SDK commands. ~DS

Functions