app

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 11 Imported by: 0

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
}

func NewCli

func NewCli() Cli

func (Cli) Run

func (cli Cli) Run()

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL