Documentation ¶
Overview ¶
Package class classifies a key-value by the kind of operation it represents.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Class ¶
type Class string
Class categorizes a KeyValue.
const ( // Constant specifies that the KeyValue has no Variable, // MaybeMore, or Clear. This kind of KeyValue can be used to // perform a set operation or is returned by a get operation. Constant Class = "constant" // Clear specifies that the KeyValue has no Variable or // MaybeMore and has a Clear Value. This kind of KeyValue can // be used to perform a clear operation. Clear Class = "clear" // ReadSingle specifies that the KeyValue has a Variable // Value and doesn't have a Variable or MaybeMore in its Key. // This kind of KeyValue can be used to perform a get operation // that returns a single KeyValue. ReadSingle Class = "single" // ReadRange specifies that the KeyValue has a Variable // or MaybeMore in its Key and doesn't have a Clear Value. // This kind of KeyValue can be used to perform a get // operation that returns multiple KeyValue. ReadRange Class = "range" // VariableClear specifies that the KeyValue has a // Variable or MaybeMore in its Key and has a Clear for // its value. This is an invalid class of KeyValue. VariableClear Class = "variable clear" // Nil specifies that the KeyValue contains a nil (not keyval.Nil). // This is an invalid class of KeyValue. Nil Class = "nil" )
Click to show internal directories.
Click to hide internal directories.