package server import ( //"log" _ "context" ) // will condense into the rm soon enough // manager connects to client on start and returns the gRPC connection to make gRPC clients // type ClientManager struct { // *Client // gives access to c.Ip c.Id etc // Hb time.Duration // used for managing hb timer for client // Sig chan bool // sync.Mutex // } // func NewClientManager(cl *Client) *ClientManager { // return &ClientManager{Client: cl} // } // func (m *ClientManager) UpdateClient(cl *Client) error { // m.Lock() // defer m.Unlock() // logging.Debug(logging.DClient, "MAN Updating client %v", cl.Id) // m.Client = cl // return nil // }