Versions in this module Expand all Collapse all v0 v0.1.0 Dec 19, 2023 Changes in this version + var ErrInvalidRecordType = errors.New("invalid record keytype") + func MakePutRecord(key string, value []byte) *pb.Record + func SplitKey(key string) (string, string, error) + type ErrBetterRecord struct + Key string + Value []byte + func (e *ErrBetterRecord) Error() string + type NamespacedValidator map[string]Validator + func (v NamespacedValidator) Select(key string, values [][]byte) (int, error) + func (v NamespacedValidator) Validate(key string, value []byte) error + func (v NamespacedValidator) ValidatorByKey(key string) Validator + type PublicKeyValidator struct + func (pkv PublicKeyValidator) Select(k string, vals [][]byte) (int, error) + func (pkv PublicKeyValidator) Validate(key string, value []byte) error + type Validator interface + Select func(key string, values [][]byte) (int, error) + Validate func(key string, value []byte) error