Move Broker interface to base package

This commit is contained in:
Ken Hibino
2020-04-18 07:55:10 -07:00
parent 46ab4417dd
commit 7c7f8e5f30
8 changed files with 176 additions and 38 deletions

View File

@@ -36,7 +36,7 @@ type Server struct {
logger Logger
broker broker
broker base.Broker
// wait group to wait for all goroutines to finish.
wg sync.WaitGroup