Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultRobot = "default"
DefaultRobot can be used for general usage. If the construction function called, an option can be provided to setup the default robot. Currently, it can be used for DirectSend() as a name to illustrate which robot should be used to delivery.
Variables ¶
View Source
var ErrRobotName = errors.New("no valid robot found, please check the name of robot you provided")
ErrRobotName represents there is no valid named robot that has been registered before.
Functions ¶
func DirectSend ¶
DirectSend will send a message directly
Types ¶
type Option ¶
type Option func(o *Options)
func WithDefaultRegistration ¶
func WithDefaultRegistration() Option
func WithReminder ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.