Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerConfig ¶
type ServerConfig struct {
Host string
Port int
IsDevel bool
JWTHeader string
JWTKey string
// Index indexes files on start: width, height, blurhash.
Index bool
// IndexBlurhash calculates blurhash (could be long operation on large files)
IndexBlurhash bool
// IndexWorkers is total running indexer workers, default is cores
IndexWorkers int
// IndexBatchSize is Indexer batch size for files, default is 64
IndexBatchSize uint64
// IndexNamespacesPriority defines namespace order for indexer.
// If set, hashes are processed in this order first.
IndexNamespacesPriority []string
}
Click to show internal directories.
Click to hide internal directories.