Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Prefix string `mapstructure:"prefix"` GatewaySvc string `mapstructure:"gatewaysvc" validate:"required"` Timeout int64 `mapstructure:"timeout"` Insecure bool `docs:"false;Whether to skip certificate checks when sending requests." mapstructure:"insecure"` Name string `mapstructure:"name"` MaxNumFiles int64 `mapstructure:"max_num_files" validate:"required,gt=0"` MaxSize int64 `mapstructure:"max_size" validate:"required,gt=0"` AllowedFolders []string `mapstructure:"allowed_folders"` }
Config holds the config options that need to be passed down to all ocdav handlers.
func (*Config) ApplyDefaults ¶ added in v1.25.0
func (c *Config) ApplyDefaults()
Click to show internal directories.
Click to hide internal directories.