Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrSectionNotFound = err("Section not found") ErrStackIsEmpty = err("Section is empty") )
Commond non-system error
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataResult ¶
type DataResult struct {
Message // Message content
DepthIndex int // Current stack depth (before operation) - non-atomic op.
}
DataResult - result of PUSH and PEAK operation
type Message ¶
type Message struct {
Headers map[string]string // Headers are decoded to JSON (may be changed in future)
Body []byte
}
Message represenation in stack
Click to show internal directories.
Click to hide internal directories.