Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { ID int `json:"id"` Name string `json:"name"` Local bool `json:"local"` Public bool `json:"public"` /* публичный чат любой может войти */ Users map[int]bool `json:"users"` /* [id] online */ Secure bool `json:"secure"` History []*Message `json:"history"` Fraction string `json:"fraction"` Private bool `json:"private"` // приватные чаты 1 на 1, живут до тех пор пока кто то не отписался Greetings string `json:"greetings"` UserCreate bool `json:"user_create"` UserIdCreate int `json:"user_id_create"` // ключь для приватного чата, что бы если 1 игрок вышел, а потом начал заного не создавать новую группу, если // выйдут оба конечно группа будет удалена PrivateKey string `json:"private_key"` // contains filtered or unexported fields }
func (*Group) CheckUserInGroup ¶
func (*Group) GetPassword ¶
func (*Group) SetPassword ¶
Click to show internal directories.
Click to hide internal directories.