Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoMatchChatName = errors.New("no match chat name") ErrCurrChatNil = errors.New("current chat is nil") ErrKnownhosts = errors.New("knownhosts") ErrChatAlreadyAdded = errors.New("chat already added") ErrCreateChatInfo = errors.New("failed to create chat info") ErrAuthenticationRequired = transport.ErrAuthenticationRequired ErrCommitChatInfo = errors.New("failed to commit chat info, remove file") ErrPushChatInfo = errors.New("failed to push chat info, reset commit") ErrResetLastCommit = errors.New("failed to reset last commit, remove chat") )
View Source
var Chats []Chat
Functions ¶
func GetUserName ¶
Types ¶
type Chat ¶
type Chat struct { Url *url.URL Name string MembersNum int Members []chatMember MsgNum int LastMsg Message NonReadMsgNum int // contains filtered or unexported fields }
func CollectChats ¶
func GetCurrChat ¶
func SelectChat ¶
type ChatInfoJson ¶
Click to show internal directories.
Click to hide internal directories.