Documentation ¶
Index ¶
- type Action
- type InstanceObj
- func (o *InstanceObj) AddNewbieMessages(chatID int64, userID int) error
- func (o *InstanceObj) AddToActionPool(act Action, delay time.Duration) error
- func (o *InstanceObj) DelKicked(chatID int64, userID int) error
- func (o *InstanceObj) GetFromActionPool() ([]Action, error)
- func (o *InstanceObj) GetNewbieMessages(chatID int64, userID int) (int, error)
- func (o *InstanceObj) IsKicked(chatID int64, userID int) (bool, error)
- func (o *InstanceObj) SetKicked(chatID int64, userID int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceObj ¶
type InstanceObj struct {
// contains filtered or unexported fields
}
func Get ¶
func Get() *InstanceObj
func (*InstanceObj) AddNewbieMessages ¶
func (o *InstanceObj) AddNewbieMessages(chatID int64, userID int) error
func (*InstanceObj) AddToActionPool ¶
func (o *InstanceObj) AddToActionPool(act Action, delay time.Duration) error
func (*InstanceObj) GetFromActionPool ¶
func (o *InstanceObj) GetFromActionPool() ([]Action, error)
func (*InstanceObj) GetNewbieMessages ¶
func (o *InstanceObj) GetNewbieMessages(chatID int64, userID int) (int, error)
Click to show internal directories.
Click to hide internal directories.