Documentation
¶
Overview ¶
Package resource contains utilities for performing low-level manipulations of projection resource versions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromApplicationKey ¶
FromApplicationKey returns the resource to use for the given application with the given identity key.
func MarshalOffset ¶
MarshalOffset marshals a stream offset to a resource version.
o is the next offset to be read from the stream, not the last offset that was applied to the projection.
func MarshalOffsetInto ¶
MarshalOffsetInto marshals a stream offset using the memory of an existing buffer.
buf is the buffer to use, it must be at least 8 bytes in length.
o is the next offset to be read from the stream, not the last offset that was applied to the projection.
func UnmarshalOffset ¶
UnmarshalOffset unmarshals a stream offset from a resource version.
It returns the next offset to be read from the stream, not the last offset that was applied to the projection.
Types ¶
This section is empty.