Cache
This commit is contained in:
parent
b775e6dfce
commit
67922b0ae5
8 changed files with 175 additions and 6 deletions
|
@ -28,6 +28,7 @@ var (
|
|||
// Config is the main config struct for the application. Use New to instantiate a default config struct.
|
||||
type Config struct {
|
||||
ListenHTTP string
|
||||
CacheFile string
|
||||
FirebaseKeyFile string
|
||||
MessageBufferDuration time.Duration
|
||||
KeepaliveInterval time.Duration
|
||||
|
@ -42,6 +43,7 @@ type Config struct {
|
|||
func New(listenHTTP string) *Config {
|
||||
return &Config{
|
||||
ListenHTTP: listenHTTP,
|
||||
CacheFile: "",
|
||||
FirebaseKeyFile: "",
|
||||
MessageBufferDuration: DefaultMessageBufferDuration,
|
||||
KeepaliveInterval: DefaultKeepaliveInterval,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue