Add support for specifying the path for chat db. Closes #61
This commit is contained in:
@@ -9,6 +9,8 @@ import (
|
||||
|
||||
//Setup sets up the chat server
|
||||
func Setup(listener models.ChatListener) {
|
||||
setupPersistence()
|
||||
|
||||
messages := []models.ChatMessage{}
|
||||
clients := make(map[string]*Client)
|
||||
addCh := make(chan *Client)
|
||||
|
||||
Reference in New Issue
Block a user