Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyOptionsDoNotMatchValueOptions = errors.New("key and value options does not match")
Functions ¶
func ExtractKeyOptions ¶
func ExtractKeyOptions(msg *protogen.Message) *kvstoreProto.KVStoreKeyOptions
func ExtractPairs ¶
func ExtractPairs(msgs []*protogen.Message) (map[string]KVStorePair, error)
func ExtractValueOptions ¶
func ExtractValueOptions(msg *protogen.Message) *kvstoreProto.KVStoreValueOptions
Types ¶
type KVStorePair ¶
type KVStorePair struct { KeyOptions *kvstoreProto.KVStoreKeyOptions KeyDesc protoreflect.MessageDescriptor ValueOptions *kvstoreProto.KVStoreValueOptions ValueDesc protoreflect.MessageDescriptor }
Click to show internal directories.
Click to hide internal directories.