Directories
¶
| Path | Synopsis |
|---|---|
|
Basic CRUD operations with the Directus client.
|
Basic CRUD operations with the Directus client. |
|
In-memory Collection[T] and Singleton[T] synced from Directus.
|
In-memory Collection[T] and Singleton[T] synced from Directus. |
|
Auto-updating materialized views over a collection.
|
Auto-updating materialized views over a collection. |
|
GroupBy views: map[K][]V from a collection.
|
GroupBy views: map[K][]V from a collection. |
|
Poll-based sync from Directus.
|
Poll-based sync from Directus. |
|
Real-time sync from Directus via WebSocket.
|
Real-time sync from Directus via WebSocket. |
|
Package main demonstrates creating Directus collections with relational fields (M2O, O2M, M2M) and translations using the schema management API.
|
Package main demonstrates creating Directus collections with relational fields (M2O, O2M, M2M) and translations using the schema management API. |
|
Working with Directus translations in memory.
|
Working with Directus translations in memory. |
|
Caching strategies and view persistence.
|
Caching strategies and view persistence. |
|
Full setup example — shows how to wire all components manually.
|
Full setup example — shows how to wire all components manually. |
|
configs/products
Package products is a self-contained config unit for the "products" collection.
|
Package products is a self-contained config unit for the "products" collection. |
|
configs/settings
Package settings is a self-contained config unit for the "app_settings" singleton.
|
Package settings is a self-contained config unit for the "app_settings" singleton. |
Click to show internal directories.
Click to hide internal directories.