()
| 34 | } |
| 35 | |
| 36 | func NewDispatcherV2Options() *DispatcherV2Options { |
| 37 | return &DispatcherV2Options{ |
| 38 | RuntimeServerAddress: defaultRuntimeServerAddress, |
| 39 | RunnerServerAddress: defaultRunnerServerAddress, |
| 40 | UserLogFileDir: defaultUserLogFilePath, |
| 41 | UserLogType: defaultUserLogType, |
| 42 | } |
| 43 | } |
| 44 | func (s *DispatcherV2Options) AddFlags(fs *pflag.FlagSet) { |
| 45 | fs.StringVar(&s.RuntimeServerAddress, "dispatcher-address", |
| 46 | s.RuntimeServerAddress, "runtime server address (log and invoke)") |
no outgoing calls