Documentation ¶
Index ¶
Constants ¶
View Source
const (
NotificationKickPlayer = "you have been kicked from the operation"
)
Variables ¶
View Source
var MessageQueues map[string]Queue
View Source
var NotifQueues map[string]Queue
Functions ¶
This section is empty.
Types ¶
type MessageQueue ¶
func (*MessageQueue) Dequeue ¶
func (r *MessageQueue) Dequeue() interface{}
func (*MessageQueue) Enqueue ¶
func (r *MessageQueue) Enqueue(req interface{}) error
func (*MessageQueue) Size ¶
func (r *MessageQueue) Size() int
type NotificationQueue ¶
type NotificationQueue struct {
Channel chan *rpcpb.Notification
}
func (*NotificationQueue) Dequeue ¶
func (r *NotificationQueue) Dequeue() interface{}
func (*NotificationQueue) Enqueue ¶
func (r *NotificationQueue) Enqueue(req interface{}) error
func (*NotificationQueue) Size ¶
func (r *NotificationQueue) Size() int
Click to show internal directories.
Click to hide internal directories.