Add more things for file handling
This commit is contained in:
parent
c813c4784a
commit
1fcf47bffc
14 changed files with 284 additions and 59 deletions
|
@ -75,10 +75,11 @@ type ConfigStorage struct {
|
|||
}
|
||||
|
||||
type ConfigTranscoder struct {
|
||||
SharedDirectory string `toml:"shared_directory"`
|
||||
Secret string `toml:"secret"`
|
||||
ServerAddress string `toml:"server_address"`
|
||||
ServerPort int `toml:"server_port"`
|
||||
SharedDirectory string `toml:"shared_directory"`
|
||||
Secret string `toml:"secret"`
|
||||
ServerAddress string `toml:"server_address"`
|
||||
ServerPort int `toml:"server_port"`
|
||||
IgnoreTranscoder bool `toml:"ignore_transcoder"`
|
||||
}
|
||||
|
||||
type ConfigS3 struct {
|
||||
|
@ -198,10 +199,11 @@ var defaultConfig Config = Config{
|
|||
MaxReconnectAttempts: 3,
|
||||
},
|
||||
Transcoder: ConfigTranscoder{
|
||||
SharedDirectory: "/tmp/linstrom-transcoder",
|
||||
Secret: "The same secret as configured in the transcoder",
|
||||
ServerAddress: "127.0.0.1",
|
||||
ServerPort: 5594,
|
||||
SharedDirectory: "/tmp/linstrom-transcoder",
|
||||
Secret: "The same secret as configured in the transcoder",
|
||||
ServerAddress: "127.0.0.1",
|
||||
ServerPort: 5594,
|
||||
IgnoreTranscoder: false,
|
||||
},
|
||||
Mail: ConfigMail{
|
||||
Host: "localhost",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue