Skip to content

novikovSU/rocketchat-desktop-native

Repository files navigation

Rocket.Chat Desktop native

Try to implement dead simple Rocket.Chat desktop client using Go and GTK3.

First phase of active development in master. VERY buggy and dirty. Not for any use for now!

Application has event-oriented architecture. First part in event name is package name, when event is fired. Full Event list:

event args decription
rocket.users.load []api.User Fires then users is loaded by rocket package
rocket.channels.load []api.Channel Fires then channels is loaded by rocket package
rocket.groups.load []api.Group Fires then groups is loaded by rocket package
rocket.contacts.update_started Fires then application starts to load/update contact list
rocket.contacts.update_finished Fires then application finish to load/update contact list
rocket.messages.new api.Message Fires then new chat message is received by rocket package
model.user.added model.ChatModel, model.UserModel Fires then application detects new user has been added to server
model.user.removed model.ChatModel, model.UserModel Fires then application detects existing user has been removed from server
model.channel.added model.ChatModel, model.ChannelModel Fires then application detects new channel has been added to server
model.channel.removed model.ChatModel, model.ChannelModel Fires then application detects existing channel has been removed from server
model.group.added model.ChatModel, model.GroupModel Fires then application detects new group has been added to server
model.group.removed model.ChatModel, model.GroupModel Fires then application detects existing group has been removed from server
model.messages.received model.ChatModel, string, api.Message Fires then new chat message is received by model package
model.unread_counters.updated model.ChatModel, string Fires then unread counter for model updated (set or cleared)
messages.read api.Message Fires then user read the chat message (Not implemented yet)
ui.mainwindow.closed Fires then user click on main window close button (Not implemented yet)
ui.contacts.selected string Fires then contact is selected in contact-list by user

About

Rocket.Chat Desktop client on Go and GTK3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages