Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitCmdTypeValues = `` /* 544-byte string literal not displayed */
View Source
var InitDBModel = []interface{}{ &models.RobotApplyCode{}, &models.Robot{}, &models.MyRobot{}, &models.ChatRoom{}, &models.ChatRoomTag{}, &models.RobotChatRoom{}, &models.CmdType{}, &models.ChatRoomCmd{}, &models.MyCmd{}, &models.SubCmd{}, &models.TagCmd{}, &models.MessageQueue{}, &models.ChatRoomMember{}, &models.MySubChatRoomConfig{}, &models.TulingConfig{}, &models.RobotFriend{}, &models.MyRobotRenew{}, &models.WorkTemplate{}, &models.ChatRoomWorkTemplate{}, &models.RobotJoin{}, }
View Source
var (
Logger *zap.Logger
)
View Source
var RootCmd = &cobra.Command{
Use: "zhiya",
Short: "A brief description of your application",
Long: `A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
func CheckBackendToken ¶
func CheckBackendToken(next echo.HandlerFunc) echo.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.