|
|
|
@ -59,6 +59,8 @@ func NewServer(clock *derby.DerbyClock, events <-chan derby.Event, dbPath string
|
|
|
|
events: events,
|
|
|
|
events: events,
|
|
|
|
clients: make(map[chan string]bool),
|
|
|
|
clients: make(map[chan string]bool),
|
|
|
|
clientsMux: sync.Mutex{},
|
|
|
|
clientsMux: sync.Mutex{},
|
|
|
|
|
|
|
|
adminclients: make(map[chan string]bool),
|
|
|
|
|
|
|
|
adminclientsMux: sync.Mutex{},
|
|
|
|
port: port,
|
|
|
|
port: port,
|
|
|
|
shutdown: make(chan struct{}),
|
|
|
|
shutdown: make(chan struct{}),
|
|
|
|
logger: logger,
|
|
|
|
logger: logger,
|
|
|
|
|