soccer-bot/manager/manager.go

18 lines
220 B
Go
Raw Normal View History

2017-08-08 16:32:45 +00:00
package manager
import (
"sync"
)
type Manager struct {
// topic variables
topicStateLock sync.RWMutex
topicMap map[string]string
}
func NewManager() *Manager {
m := new(Manager)
m.initTopic()
return m
}