init
This commit is contained in:
15
internal/config/config.go
Normal file
15
internal/config/config.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
Interval time.Duration
|
||||
}
|
||||
|
||||
func Default() Config {
|
||||
return Config{
|
||||
Interval: 30 * time.Second,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user