Documentation ¶
Index ¶
- func CheckSchedule(c config.Script) *time.Ticker
- func CreateGorutinScript(c config.Script, chanalOne chan string, chanalTwo chan string, i string)
- func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)
- func OutputScript(c config.Script) string
- func PublishScript(bt *Examplebeat, chanalOne chan string, chanalTwo chan string)
- type Examplebeat
- type Schedule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGorutinScript ¶
func OutputScript ¶
func PublishScript ¶
func PublishScript(bt *Examplebeat, chanalOne chan string, chanalTwo chan string)
Types ¶
type Examplebeat ¶
type Examplebeat struct {
// contains filtered or unexported fields
}
Examplebeat configuration.
type Schedule ¶
type Schedule cronexpr.Expression
Click to show internal directories.
Click to hide internal directories.