MCPcopy Create free account
hub / github.com/LeoninCS/DevDesk / Document

Struct Document

backend/internal/service/Markdown.go:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17type Document struct {
18 // 文档的唯一 hash,用来分享
19 Hash string
20
21 mu sync.RWMutex
22 Content string
23 Clients map[chan string]struct{}
24}
25
26func NewMarkdown() *Markdown {
27 return &Markdown{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected