Versions in this module Expand all Collapse all v0 v0.3.1 May 24, 2016 Changes in this version + type Credentials struct + Login string + NoTLS bool + Pass string + Server string + Team string + type MMClient struct + Channels *model.ChannelList + Client *model.Client + MessageChan chan *Message + MoreChannels *model.ChannelList + Team *model.Team + User *model.User + Users map[string]*model.User + WsClient *websocket.Conn + func New(login, pass, team, server string) *MMClient + func (m *MMClient) GetChannelHeader(id string) string + func (m *MMClient) GetChannelId(name string) string + func (m *MMClient) GetChannelName(id string) string + func (m *MMClient) GetPosts(channelId string, limit int) *model.PostList + func (m *MMClient) GetPostsSince(channelId string, time int64) *model.PostList + func (m *MMClient) JoinChannel(channel string) error + func (m *MMClient) Login() error + func (m *MMClient) PostMessage(channel string, text string) + func (m *MMClient) SearchPosts(query string) *model.PostList + func (m *MMClient) SetLogLevel(level string) + func (m *MMClient) UpdateChannelHeader(channelId string, header string) + func (m *MMClient) UpdateChannels() error + func (m *MMClient) UpdateLastViewed(channelId string) + func (m *MMClient) UpdateUsers() error + func (m *MMClient) UsernamesInChannel(channelName string) []string + func (m *MMClient) WsReceiver() + type Message struct + Channel string + Post *model.Post + Raw *model.Message + Team string + Text string + Username string