MCPcopy Create free account
hub / github.com/Monibuca/engine / AddPush

Method AddPush

config/types.go:184–189  ·  view source on GitHub ↗
(url string, streamPath string)

Source from the content-addressed store, hash-verified

182}
183
184func (p *Push) AddPush(url string, streamPath string) {
185 if p.PushList == nil {
186 p.PushList = make(map[string]string)
187 }
188 p.PushList[streamPath] = url
189}
190
191func (p *Push) CheckPush(streamPath string) string {
192 url, ok := p.PushList[streamPath]

Callers 1

PushMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected