Files
YouduWiki/backend/domain/wechat.go
2026-05-21 19:52:45 +08:00

25 lines
426 B
Go

package domain
import (
"bytes"
"sync"
)
// ConversationState
type ConversationState struct {
Mutex sync.Mutex
Question string
Buffer bytes.Buffer
IsVisited bool
IsDone bool
NotificationChan chan string
}
// ConversationManager
var ConversationManager = sync.Map{}
type WechatStatic struct {
BaseUrl string `json:"base_url"`
ImagePath string `json:"image_path"`
}