docs: fix some wrong comments

This commit is contained in:
Juan Pablo Villafáñez
2024-04-17 15:54:51 +02:00
parent f248d7bba3
commit 54d7a0ddb5
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1,15 +1,17 @@
package config package config
// WopiApp defines the available configuration in order to connect to a WOPI app. // CS3Api defines the available configuration in order to access to the CS3 gateway.
type CS3Api struct { type CS3Api struct {
Gateway Gateway `yaml:"gateway"` Gateway Gateway `yaml:"gateway"`
DataGateway DataGateway `yaml:"datagateway"` DataGateway DataGateway `yaml:"datagateway"`
} }
// Gateway defines the available configuration for the CS3 API gateway
type Gateway struct { type Gateway struct {
Name string `yaml: "name" env:"OCIS_REVA_GATEWAY;COLLABORATION_CS3API_GATEWAY_NAME" desc:"The service name of the CS3API gateway." introductionVersion:"5.1"` Name string `yaml: "name" env:"OCIS_REVA_GATEWAY;COLLABORATION_CS3API_GATEWAY_NAME" desc:"The service name of the CS3API gateway." introductionVersion:"5.1"`
} }
// DataGateway defines the available configuration for the CS3 API data gateway
type DataGateway struct { type DataGateway struct {
Insecure bool `yaml:"insecure" env:"COLLABORATION_CS3API_DATAGATEWAY_INSECURE" desc:"Connect to the CS3API data gateway insecurely." introductionVersion:"5.1"` Insecure bool `yaml:"insecure" env:"COLLABORATION_CS3API_DATAGATEWAY_INSECURE" desc:"Connect to the CS3API data gateway insecurely." introductionVersion:"5.1"`
} }
+1 -1
View File
@@ -1,6 +1,6 @@
package config package config
// Service defines the available grpc configuration. // GRPC defines the available grpc configuration.
type GRPC struct { type GRPC struct {
Addr string `yaml:"addr" env:"COLLABORATION_GRPC_ADDR" desc:"The bind address of the GRPC service." introductionVersion:"5.1"` Addr string `yaml:"addr" env:"COLLABORATION_GRPC_ADDR" desc:"The bind address of the GRPC service." introductionVersion:"5.1"`
Namespace string `yaml:"-"` Namespace string `yaml:"-"`