Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cli ¶
type Cli struct { CliOptions CliOptions Publisher publisher.IPublisher FileReader filereader.IReader }
type CliOptions ¶
type CliOptions struct { FilePath string `validate:"required"` ServiceType string `validate:"required"` MessageCount int `validate:"gt=0"` DelayInSeconds int }
func (CliOptions) Validate ¶
func (m CliOptions) Validate() bool
Click to show internal directories.
Click to hide internal directories.