Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(ctx context.Context, triggerFunc TriggerFunc, syncFunc func())
Types ¶
type TriggerFunc ¶
func AmqpTrigger ¶
func AmqpTrigger(amqpURL, queueName string) (TriggerFunc, error)
func PeriodicTrigger ¶
func PeriodicTrigger(duration time.Duration) TriggerFunc
Click to show internal directories.
Click to hide internal directories.