16 lines
335 B
Go
16 lines
335 B
Go
// Config is put into a different package to prevent cyclic imports in case
|
|
// it is needed in several locations
|
|
|
|
package config
|
|
|
|
import "time"
|
|
|
|
type Config struct {
|
|
Period time.Duration `config:"period"`
|
|
StartId string `config:"start_id"`
|
|
}
|
|
|
|
var DefaultConfig = Config{
|
|
Period: 1 * time.Second,
|
|
StartId: "SmBCZgcGlKk",
|
|
}
|