Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONStorage ¶
type JSONStorage struct {
Data []json.RawMessage `json:"data"`
NextID int64 `json:"next_id"`
Metadata map[string]any `json:"metadata,omitempty"`
}
type MemStore ¶
type MemStore[T IDAware] struct { // contains filtered or unexported fields }
func NewMemStore ¶
NewMemStore creates a new MemStore with the specified file path
Click to show internal directories.
Click to hide internal directories.