MCPcopy
hub / github.com/nats-io/nats.go / Del

Method Del

nats.go:4270–4272  ·  view source on GitHub ↗

Del deletes the values associated with a key. It is case-sensitive.

(key string)

Source from the content-addressed store, hash-verified

4268// Del deletes the values associated with a key.
4269// It is case-sensitive.
4270func (h Header) Del(key string) {
4271 delete(h, key)
4272}
4273
4274// NewMsg creates a message for publishing that will use headers.
4275func NewMsg(subject string) *Msg {

Callers 1

Calls

no outgoing calls

Tested by 1