Options runs a pumpserver.
| 31 | |
| 32 | // Options runs a pumpserver. |
| 33 | type Options struct { |
| 34 | HealthCheckPath string `json:"health-check-path" mapstructure:"health-check-path"` |
| 35 | HealthCheckAddress string `json:"health-check-address" mapstructure:"health-check-address"` |
| 36 | MySQLOptions *genericoptions.MySQLOptions `json:"mysql" mapstructure:"mysql"` |
| 37 | RedisOptions *genericoptions.RedisOptions `json:"redis" mapstructure:"redis"` |
| 38 | WatcherOptions *WatcherOptions `json:"watcher" mapstructure:"watcher"` |
| 39 | Log *log.Options `json:"log" mapstructure:"log"` |
| 40 | } |
| 41 | |
| 42 | // NewOptions creates a new Options object with default parameters. |
| 43 | func NewOptions() *Options { |
nothing calls this directly
no outgoing calls
no test coverage detected