diff options
| author | Paul Buetow <paul@buetow.org> | 2021-10-05 22:39:58 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-10-05 22:39:58 +0300 |
| commit | 9f395a03f25941d8ed98ec43035688daa1e8877f (patch) | |
| tree | bf3a2a97012c876cced1cc03c006af1a86113a61 /internal/clients/maprclient.go | |
| parent | f70622f307629a2542ea5eb128dea8c1043d3a40 (diff) | |
more on this
Diffstat (limited to 'internal/clients/maprclient.go')
| -rw-r--r-- | internal/clients/maprclient.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/clients/maprclient.go b/internal/clients/maprclient.go index 19fe119..92bbe39 100644 --- a/internal/clients/maprclient.go +++ b/internal/clients/maprclient.go @@ -110,6 +110,8 @@ func (c *MaprClient) Start(ctx context.Context, statsCh <-chan string) (status i return } +// NEXT: Make this a callback function rather trying to use polymorphism to call this. +// This applies to all clients. func (c MaprClient) makeHandler(server string) handlers.Handler { return handlers.NewMaprHandler(server, c.query, c.globalGroup) } |
