Documentation
¶
Index ¶
Constants ¶
View Source
const ( //EventName the name of the event EventName = "devbotreviewers" //EventVersion the version of the event EventVersion = "1.0.0" )
Variables ¶
View Source
var Event = EventStruct{ EventName: EventName, }
Event - object which is ready to use
Functions ¶
This section is empty.
Types ¶
type EventStruct ¶
type EventStruct struct {
EventName string
}
EventStruct the struct for the event object. It will be used for initialisation of the event in defined-events.go file.
func (EventStruct) Execute ¶
func (e EventStruct) Execute(message dto.BaseChatMessage) (dto.BaseChatMessage, error)
Execute method which is called by message processor
func (EventStruct) Install ¶
func (e EventStruct) Install() error
Install method for installation of event
Click to show internal directories.
Click to hide internal directories.