Documentation ¶
Overview ¶
Package middleware provides middleware to our boutique.Container.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CleanTimer = 1 * time.Minute
CleanTimer is how old a message must be before it is deleted on the next Perform().
Functions ¶
func CleanMessages ¶
CleanMessages deletes data.State.Messages older than 1 Minute.
Types ¶
type Logging ¶
type Logging struct {
// contains filtered or unexported fields
}
Logging provides middleware for logging channels and state data debugging.
func (*Logging) ChannelLog ¶
ChannelLog implements boutique.Middleware.
Click to show internal directories.
Click to hide internal directories.