Documentation
¶
Index ¶
- func FIFOMapCount() int
- func FIFOMapGet(key string) (interface{}, bool)
- func FIFOMapRemoveOldest()
- func FIFOMapSet(key string, value interface{})
- func GetListKeyworldHistory(req *request.KeyworldHistoryInfoRequest) ([]response.KeyworldHistoryInfoItem, error)
- func GetListKeyworldHistoryWithKeyworld(keyworld string, page int) (string, error)
- func GetListKeyworldHistoryWithSenderID(senderID int64, page int) (string, error)
- func GetURLCardbot() string
- func GetURLSubmitNewGroup() string
- func PushMsgData(data []byte) error
- func SendMessage(botToken string, reciverId int64, m interface{}, parseMode tele.ParseMode, ...) error
- func SetBotFatherWebhook()
- type FIFOMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FIFOMapCount ¶
func FIFOMapCount() int
func FIFOMapGet ¶
func FIFOMapRemoveOldest ¶
func FIFOMapRemoveOldest()
func FIFOMapSet ¶
func FIFOMapSet(key string, value interface{})
func GetListKeyworldHistory ¶
func GetListKeyworldHistory(req *request.KeyworldHistoryInfoRequest) ([]response.KeyworldHistoryInfoItem, error)
func GetURLCardbot ¶
func GetURLCardbot() string
func GetURLSubmitNewGroup ¶
func GetURLSubmitNewGroup() string
func SendMessage ¶
func SetBotFatherWebhook ¶
func SetBotFatherWebhook()
Types ¶
type FIFOMap ¶
type FIFOMap struct {
// contains filtered or unexported fields
}
先进先出(FIFO)的 map 实现
func NewFIFOMap ¶
func NewFIFOMap() *FIFOMap
func (*FIFOMap) RemoveOldest ¶
func (m *FIFOMap) RemoveOldest()
Click to show internal directories.
Click to hide internal directories.