feat: Add new collaboration service (WOPI)

This commit is contained in:
Juan Pablo Villafáñez
2024-04-17 15:54:50 +02:00
parent f52f2d4a5c
commit 3e90402350
45 changed files with 2762 additions and 1 deletions
@@ -0,0 +1,15 @@
package config
// WopiApp defines the available configuration in order to connect to a WOPI app.
type CS3Api struct {
Gateway Gateway `yaml:"gateway"`
DataGateway DataGateway `yaml:"datagateway"`
}
type Gateway struct {
Name string `yaml: "name" env:"COLLABORATION_CS3API_GATEWAY_NAME" desc:"service name of the CS3API gateway"`
}
type DataGateway struct {
Insecure bool `yaml:"insecure" env:"COLLABORATION_CS3API_DATAGATEWAY_INSECURE" desc:"connect to the CS3API data gateway insecurely"`
}