Versions in this module Expand all Collapse all v1 v1.0.0 Sep 9, 2024 Changes in this version + func GetUpdateCallback() func() + type Options struct + Cdn bool + Cloud bool + Debug bool + DisableUpdateCheck bool + Exclude bool + FilterCdn goflags.StringSlice + FilterCloud goflags.StringSlice + FilterWaf goflags.StringSlice + HasStdin bool + Inputs goflags.StringSlice + Json bool + MatchCdn goflags.StringSlice + MatchCloud goflags.StringSlice + MatchWaf goflags.StringSlice + MaxRetries int + NoColor bool + OnResult func(r Output) + Output string + Resolvers goflags.StringSlice + Response bool + Silent bool + Verbose bool + Version bool + Waf bool + func ParseOptions() *Options + type Output struct + Cdn bool + CdnName string + Cloud bool + CloudName string + IP string + Input string + Timestamp time.Time + Waf bool + WafName string + func (o *Output) String() string + func (o *Output) StringIP() string + type OutputWriter struct + func NewOutputWriter() (*OutputWriter, error) + func (o *OutputWriter) AddWriters(writers ...io.Writer) + func (o *OutputWriter) Close() + func (o *OutputWriter) Write(data []byte) + func (o *OutputWriter) WriteJSON(data Output) + func (o *OutputWriter) WriteString(data string) + type Runner struct + func NewRunner(options *Options) *Runner + func (r *Runner) Run() error + func (r *Runner) SetWriter(writer io.Writer) error