Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mq.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ func (mq *MessageQueue) ReceiveString(msgType int, flags int) (string, int, erro
}
}

// Get statistics about the message queue.
// Stat gets statistics about the message queue.
func (mq *MessageQueue) Stat() (*QueueStats, error) {
return ipcStat(mq.id)
}

// Get statistics about the message queue.
// Destroy gets statistics about the message queue.
func (mq *MessageQueue) Destroy() error {
defer mq.Close()
return ipcDestroy(mq.id)
Expand Down