dao

package
v0.0.0-...-f176acd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBotUser

func CreateBotUser(user *models.BotUser) error

创建Bot用户

func DeleteBotUser

func DeleteBotUser(id int64) error

删除Bot用户

func DeleteBotUserByKahlaId

func DeleteBotUserByKahlaId(id string) error

通过卡拉UserID删除Bot用户

func GetAllBotUser

func GetAllBotUser() (as []*models.BotUser, err error)

获取所有的BotUser

func GetBotUserByConversationId

func GetBotUserByConversationId(conversationId uint32) (*models.BotUser, error)

通过Conversation查找Bot用户

func GetBotUserById

func GetBotUserById(id int64) (*models.BotUser, error)

通过ID查找Bot用户

func GetBotUserByToken

func GetBotUserByToken(token string) (*models.BotUser, error)

通过Token查找Bot用户

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL