Documentation ¶
Overview ¶
Package settingsrs realizes the settings resource, allowing the settings fetching and replacement (mutation) REST APIs to be accepted and delegated to the application use case properly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(r *gin.RouterGroup, app *appuc.UseCase)
Register instantiates a resource adapting the app use case instance with the relevant REST APIs including:
- PUT request to /api/caweb/v1/settings in order to update the mutable settings and reload the caweb.
- GET request to /api/caweb/v1/settings in order to fetch the current visible settings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.