Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SUPERVISED sets the runtime mode as supervised threads. SUPERVISED = iota // UNSUPERVISED sets the runtime mode as a single thread. UNSUPERVISED )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Mode is mostly used whenever we need to run an extension. The technical debt this introduces is in regards of // what it does. Supervised (0) loads configuration from a unified config file because of known limitations of Viper; whereas // Unsupervised (1) MUST parse config from all known sources. Mode Mode File string Registry string Log Log Debug Debug HTTP HTTP GRPC GRPC Tracing Tracing TokenManager TokenManager Runtime Runtime Accounts *accounts.Config GLAuth *glauth.Config Graph *graph.Config GraphExplorer *graphExplorer.Config IDP *idp.Config OCS *ocs.Config Onlyoffice *onlyoffice.Config Web *web.Config Proxy *proxy.Config Settings *settings.Config Storage *storage.Config Store *store.Config Thumbnails *thumbnails.Config WebDAV *webdav.Config }
Config combines all available configuration parts.
type TokenManager ¶
type TokenManager struct {
JWTSecret string
}
TokenManager is the config for using the reva token manager
Click to show internal directories.
Click to hide internal directories.