MCPcopy
hub / github.com/kopia/kopia / jsonSender

Struct jsonSender

notification/sender/jsonsender/jsonsender.go:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type jsonSender struct {
16 prefix string
17 out io.Writer
18 minSeverity sender.Severity
19}
20
21func (p *jsonSender) Send(_ context.Context, msg *sender.Message) error {
22 if msg.Severity < p.minSeverity {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected