add update endpoint
This commit is contained in:
1
main.go
1
main.go
@@ -120,6 +120,7 @@ func main() {
|
||||
protected.GET("/retrieve", controllers.RetrieveSecret)
|
||||
protected.GET("/retrieveMultiple", controllers.RetrieveMultpleSecrets)
|
||||
protected.POST("/store", controllers.StoreSecret)
|
||||
protected.POST("/update", controllers.UpdateSecret)
|
||||
|
||||
// Initializing the server in a goroutine so that
|
||||
// it won't block the graceful shutdown handling below
|
||||
|
Reference in New Issue
Block a user