blob: a1d68642ecc38b6ef26bf6e15f52d339050cff34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package clients
import (
"github.com/mimecast/dtail/internal/clients/handlers"
)
// maker interface helps to re-use code in all DTail client implementations.
// All clients share the baseClient but have different connection handlers
// and send different commands to the DTail server.
type maker interface {
makeHandler(server string) handlers.Handler
makeCommands(options map[string]string) (commands []string)
}
|