MCPcopy
hub / github.com/marmotedu/iam / Options

Struct Options

internal/watcher/options/options.go:33–40  ·  view source on GitHub ↗

Options runs a pumpserver.

Source from the content-addressed store, hash-verified

31
32// Options runs a pumpserver.
33type 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.
43func NewOptions() *Options {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected