MCPcopy Create free account
hub / github.com/dbProjectRED/redimo.go / Value

Interface Value

values.go:25–27  ·  view source on GitHub ↗

Value allows you to store values of any type supported by DynamoDB, as long as they implement this interface and encode themselves into a dynamodb.AttributeValue returned by ToAV. Every Redimo operation that stores data will accept the data as a Value. Some common value wrappers are provided, like

Source from the content-addressed store, hash-verified

23// method on any type to implement custom encoding. When you receive the data wrapped in a ReturnValue, the ToAV method can
24// be used to access the raw dynamo.AttributeValue struct, allowing you to do custom decoding.
25type Value interface {
26 ToAV() dynamodb.AttributeValue
27}
28
29// StringValue is a convenience value wrapper for a string, usable as
30// StringValue{"hello"}

Callers 8

sequenceUpdateActionMethod · 0.65
toPutActionMethod · 0.65
updateDeliveryActionMethod · 0.65
toAVMethod · 0.65
XADDMethod · 0.65
xInitActionMethod · 0.65
xGroupReadPendingMethod · 0.65
addConditionEqualityMethod · 0.65

Implementers 7

StringValuevalues.go
FloatValuevalues.go
IntValuevalues.go
BytesValuevalues.go
ReturnValuevalues.go
zScoresorted_sets.go
zLexsorted_sets.go

Calls

no outgoing calls

Tested by

no test coverage detected