Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageInfo ¶
type MessageInfo struct {
ExamName string
FunctionName string
TaskName string
Message string
Time time.Duration
}
what we send in every message
type Messager ¶
type Messager struct {
Chan chan MessageInfo
Timeout time.Duration
MessagerConf
}
the main struct created by New
func New ¶
func New(conf MessagerConf, infoChan chan MessageInfo, timeout time.Duration) *Messager
type MessagerConf ¶
arguments to New
Click to show internal directories.
Click to hide internal directories.