Refactor the third-party connect backend functionality

This commit is contained in:
Dan Sosedoff
2017-09-21 01:21:26 -05:00
parent d175b0af34
commit 869fd8c6bc
3 changed files with 90 additions and 30 deletions

View File

@@ -32,6 +32,7 @@ type Options struct {
DisablePrettyJson bool `long:"no-pretty-json" description:"Disable JSON formatting feature for result export" default:"false"`
ConnectBackend string `long:"connect-backend" description:"Enable database authentication through a third party backend"`
ConnectToken string `long:"connect-token" description:"Authentication token for the third-party connect backend"`
ConnectHeaders string `long:"connect-headers" description:"List of headers to pass to the connect backend"`
}
var Opts Options