Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserManager ¶
type UserManager struct {
// contains filtered or unexported fields
}
func NewUserManager ¶
func NewUserManager() *UserManager
func (*UserManager) Act ¶
func (um *UserManager) Act(line *line.Line)
Remember which users are in which channels. Call this on every server line.
func (*UserManager) Channels ¶
func (um *UserManager) Channels() map[string]umChannel
All the channels we have user counts for, as keys in a map
func (*UserManager) Count ¶
func (um *UserManager) Count(channel string) int
Number of current users in the channel
func (*UserManager) In ¶
func (um *UserManager) In(nick string) []string
List of channels nick is in
Click to show internal directories.
Click to hide internal directories.