NewGroupClientManager creates a new group client manager.
( groupName string, logger interfaces.Logger, cache interfaces.Cache, )
| 74 | |
| 75 | // NewGroupClientManager creates a new group client manager. |
| 76 | func NewGroupClientManager( |
| 77 | groupName string, |
| 78 | logger interfaces.Logger, |
| 79 | cache interfaces.Cache, |
| 80 | ) *GroupClientManager { |
| 81 | return &GroupClientManager{ |
| 82 | groupName: groupName, |
| 83 | clients: make(map[string]*ProfileClient), |
| 84 | logger: logger, |
| 85 | cache: cache, |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | // ProfileEntry represents a profile to be added to the group manager. |
| 90 | // This is a simple struct to pass profile information without importing config package, used in group management. |
no outgoing calls