# Functions
NewEventJobStatusQueue is stateless in local, you can create it anywhere.
NewEventMessageQueue is stateless in local, you can create it anywhere.
# Constants
All channel types.
All channel types.
All channel types.
Event will publish to redis queue.
Event will publish to redis queue.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MessageTypeAuto have been deprecated.
MessageTypeInfo Warning had been moved to MessageLevel.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
Agent belongs to user, have id and secret, saved in db.
AgentBasic used for agent creation ui.
Channel is the way of sending message to users.
DelayedJob will be stored in db for future run.
DelayedJobInput just for api input.
Job will be saved in db, it's a gorm mysql model.
JobBasic will be pulled by agent.
JobInput is input fields which upstream service passed.
JobRaw is raw input of job, format: AgentName JobMessage.
JobResult is reported by agent The length of result is not limited, if it is longer than 1024, will be cut.
Message will send to IM, gen by agent api, or system event.
MessageInput from api TODO: check it.
UserSetting stores user's setting.
# Type aliases
ChannelType is provider+way, some provider have more than one way to send message.