Documentation ¶
Index ¶
- type EventHandler
- func (h *EventHandler) AcceptFriendRequest() error
- func (h *EventHandler) NewFriendRequestEvent(v *pusher.Pusher_NewFriendRequestEvent) error
- func (h *EventHandler) NewMessageEvent(v *pusher.Pusher_NewMessageEvent) error
- func (h *EventHandler) ProcessNewMessageEvent(content string, v *pusher.Pusher_NewMessageEvent) error
- func (h *EventHandler) UpdateConversation() error
- func (h *EventHandler) WereDeletedEvent(v *pusher.Pusher_WereDeletedEvent) error
- type PusherEventServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler(macaronapp *macaron.Macaron, injector *injects.BasicInject, cilen *kahla.Client) *EventHandler
func (*EventHandler) AcceptFriendRequest ¶
func (h *EventHandler) AcceptFriendRequest() error
func (*EventHandler) NewFriendRequestEvent ¶
func (h *EventHandler) NewFriendRequestEvent(v *pusher.Pusher_NewFriendRequestEvent) error
func (*EventHandler) NewMessageEvent ¶
func (h *EventHandler) NewMessageEvent(v *pusher.Pusher_NewMessageEvent) error
func (*EventHandler) ProcessNewMessageEvent ¶
func (h *EventHandler) ProcessNewMessageEvent(content string, v *pusher.Pusher_NewMessageEvent) error
func (*EventHandler) UpdateConversation ¶
func (h *EventHandler) UpdateConversation() error
func (*EventHandler) WereDeletedEvent ¶
func (h *EventHandler) WereDeletedEvent(v *pusher.Pusher_WereDeletedEvent) error
type PusherEventServer ¶
type PusherEventServer struct {
// contains filtered or unexported fields
}
func NewPusherServer ¶
func NewPusherServer(macaronapp *macaron.Macaron, injector *injects.BasicInject) *PusherEventServer
func (*PusherEventServer) EventHandler ¶
func (server *PusherEventServer) EventHandler(i interface{})
func (*PusherEventServer) Run ¶
func (server *PusherEventServer) Run(interrupt chan struct{}) error
Click to show internal directories.
Click to hide internal directories.