settingsrs

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

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:

  1. PUT request to /api/caweb/v1/settings in order to update the mutable settings and reload the caweb.
  2. GET request to /api/caweb/v1/settings in order to fetch the current visible settings.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL