Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DB dbh.DBConfig `json:"db"`
VideoStorage StorageConfig `json:"videoStorage"`
VideoCache string `json:"videoCache"` // Path to the cache directory
}
type Server ¶
type Server struct {
HotReloadWWW bool
Log logs.Log
DB *gorm.DB
// contains filtered or unexported fields
}
func (*Server) ListenForKillSignals ¶
func (s *Server) ListenForKillSignals()
type StorageConfig ¶
type StorageConfig struct {
Filesystem *StorageConfigFS `json:"filesystem"`
GCS *StorageConfigGCS `json:"gcs"`
}
One of the storage options must be configured (i.e. either 'filesystem' or 'gcs')
type StorageConfigFS ¶
type StorageConfigFS struct {
Root string `json:"root"` // Path to the root of the filesystem
}
type StorageConfigGCS ¶
Click to show internal directories.
Click to hide internal directories.