Documentation
¶
Index ¶
- func CreateCustomCommand(feishuClient feishu.Client, chatgptClient chatgpt.Client, cfg *config.Config) *chatbot.Command
- func CreateDrawCommand(feishuClient feishu.Client, chatgptClient chatgpt.Client) *chatbot.Command
- func CreateMessageCommand(feishuClient feishu.Client, chatgptClient chatgpt.Client, cfg *config.Config) *chatbot.Command
- func CreateModelCommand(feishuClient feishu.Client, chatgptClient chatgpt.Client, cfg *config.Config) *chatbot.Command
- func CreateOfflineCommand(feishuClient feishu.Client, chatgptClient chatgpt.Client, cfg *config.Config) *chatbot.Command
- func CreateOnlineCommand(feishuClient feishu.Client, chatgptClient chatgpt.Client, cfg *config.Config) *chatbot.Command
- func CreatePingCommand(feishuClient feishu.Client, chatgptClient chatgpt.Client) *chatbot.Command
- func CreateResetCommand(feishuClient feishu.Client, chatgptClient chatgpt.Client, cfg *config.Config) *chatbot.Command
- type TimeConsumer
- type TimeDuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCustomCommand ¶
func CreateDrawCommand ¶
func CreateMessageCommand ¶
func CreateModelCommand ¶
func CreateOfflineCommand ¶
func CreateOnlineCommand ¶
func CreatePingCommand ¶
Types ¶
type TimeConsumer ¶ added in v1.10.5
type TimeConsumer struct {
// contains filtered or unexported fields
}
func NewTimeConsumer ¶ added in v1.10.5
func NewTimeConsumer() *TimeConsumer
func (*TimeConsumer) Consume ¶ added in v1.10.5
func (c *TimeConsumer) Consume() *TimeDuration
func (*TimeConsumer) Start ¶ added in v1.10.5
func (c *TimeConsumer) Start()
type TimeDuration ¶ added in v1.10.5
func (*TimeDuration) String ¶ added in v1.10.5
func (d *TimeDuration) String() string
Click to show internal directories.
Click to hide internal directories.