gateway
- Package
github.com/cs3org/reva/v3/internal/grpc/services/gateway- Source
- internal/grpc/services/gateway · Go reference
Enable it
Add this table to the revad configuration file:
[grpc.services.gateway]
# settings belowThis package has no documentation yet. Add a package doc comment or a
README.md in internal/grpc/services/gateway, then run make gen-doc.Configuration
config
| Key | Type | Default | Description |
|---|---|---|---|
commit_share_to_storage_grant | bool | - | Per-service addresses are resolved through the service registry now, so the *svc endpoint keys are gone. The data gateway URL is resolved through the registry too (see InitiateFileDownload/Upload). source |
disable_home_creation_on_login | bool | - | source |
transfer_shared_secret | string | shared jwt_secret | source |
transfer_expires | int64 | 100 * 60 | source |
token_manager | string | "jwt" | source |
share_folder | string | "MyShares" | ShareFolder is the location where to create shares in the recipient’s storage provider. source |
data_transfers_folder | string | - | source |
token_managers | map[string]map[string]any | - | source |
etag_cache_ttl | int | - | source |
allowed_user_agents | map[string][]string | - | map[path][]user-agent source |
create_home_cache_ttl | int | - | source |
resource_info_cache_type | string | - | source |
resource_info_cache_ttl | int | - | source |
resource_info_caches | map[string]map[string]any | - | source |
space_info_cache_type | string | "memory_space" | source |
space_info_cache_ttl | int | 3600 | source |
space_info_caches | map[string]map[string]any | - | source |
home_layout | string | "/home" | source |
ocm_enabled | bool | - | source |
events | eventBackendConfig | - | source |
lightweight_home_layout | string | - | LightweightHomeLayout is the path of the folder shared with a lightweight account as its home on login. Empty disables lightweight homes. source |
eventBackendConfig
| Key | Type | Default | Description |
|---|---|---|---|
nats | backends.NATSConfig | - | source |