Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MyOpts ¶
type MyOpts struct { MySQLDefaultsExtraFile string `long:"defaults-extra-file" description:"path to defaults-extra-file"` MySQLSocket string `long:"mysql-socket" description:"path to mysql listen sock"` MySQLHost string `short:"H" long:"host" default:"localhost" description:"Hostname"` MySQLPort string `short:"p" long:"port" default:"3306" description:"Port"` MySQLUser string `short:"u" long:"user" default:"root" description:"Username"` MySQLPass *string `short:"P" long:"password" description:"Password"` MySQLDBName string `long:"database" default:"" description:"database name connect to"` }
MyOpts mysql connection related flags used with go-flags
Click to show internal directories.
Click to hide internal directories.