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 below
This 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

KeyTypeDefaultDescription
commit_share_to_storage_grantbool-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_loginbool-source
transfer_shared_secretstringshared jwt_secretsource
transfer_expiresint64100 * 60source
token_managerstring"jwt"source
share_folderstring"MyShares"ShareFolder is the location where to create shares in the recipient’s storage provider. source
data_transfers_folderstring-source
token_managersmap[string]map[string]any-source
etag_cache_ttlint-source
allowed_user_agentsmap[string][]string-map[path][]user-agent source
create_home_cache_ttlint-source
resource_info_cache_typestring-source
resource_info_cache_ttlint-source
resource_info_cachesmap[string]map[string]any-source
space_info_cache_typestring"memory_space"source
space_info_cache_ttlint3600source
space_info_cachesmap[string]map[string]any-source
home_layoutstring"/home"source
ocm_enabledbool-source
eventseventBackendConfig-source
lightweight_home_layoutstring-LightweightHomeLayout is the path of the folder shared with a lightweight account as its home on login. Empty disables lightweight homes. source

eventBackendConfig

KeyTypeDefaultDescription
natsbackends.NATSConfig-source