handlers

package
Version: v0.0.0-...-489b206 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2019 License: Unlicense Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebsocketCtx

type WebsocketCtx struct {
	SeqId    int
	UserId   uint64
	Listener chan interface{}
	UserName string
}

func (*WebsocketCtx) ProcessAddFriend

func (ctx *WebsocketCtx) ProcessAddFriend(req *protocol.RequestAddFriend) protocol.Reply

func (*WebsocketCtx) ProcessAddToTimeline

func (ctx *WebsocketCtx) ProcessAddToTimeline(req *protocol.RequestAddToTimeline) protocol.Reply

func (*WebsocketCtx) ProcessConfirmFriendship

func (ctx *WebsocketCtx) ProcessConfirmFriendship(req *protocol.RequestConfirmFriendship) protocol.Reply

func (*WebsocketCtx) ProcessGetFriends

func (ctx *WebsocketCtx) ProcessGetFriends(req *protocol.RequestGetFriends) protocol.Reply

func (*WebsocketCtx) ProcessGetMessages

func (ctx *WebsocketCtx) ProcessGetMessages(req *protocol.RequestGetMessages) protocol.Reply

func (*WebsocketCtx) ProcessGetMessagesUsers

func (ctx *WebsocketCtx) ProcessGetMessagesUsers(req *protocol.RequestGetMessagesUsers) protocol.Reply

func (*WebsocketCtx) ProcessGetProfile

func (ctx *WebsocketCtx) ProcessGetProfile(req *protocol.RequestGetProfile) protocol.Reply

func (*WebsocketCtx) ProcessGetTimeline

func (ctx *WebsocketCtx) ProcessGetTimeline(req *protocol.RequestGetTimeline) protocol.Reply

func (*WebsocketCtx) ProcessGetTimelineForHash

func (ctx *WebsocketCtx) ProcessGetTimelineForHash(req *protocol.RequestGetTimelineForHash) protocol.Reply

func (*WebsocketCtx) ProcessGetUsersList

func (ctx *WebsocketCtx) ProcessGetUsersList(req *protocol.RequestGetUsersList) protocol.Reply

func (*WebsocketCtx) ProcessSendMessage

func (ctx *WebsocketCtx) ProcessSendMessage(req *protocol.RequestSendMessage) protocol.Reply

func (*WebsocketCtx) ProcessUpdateProfile

func (ctx *WebsocketCtx) ProcessUpdateProfile(req *protocol.RequestUpdateProfile) protocol.Reply

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL