MCPcopy Create free account
hub / github.com/assembla/cony / Tag

Function Tag

consumer.go:119–123  ·  view source on GitHub ↗

Tag the consumer

(tag string)

Source from the content-addressed store, hash-verified

117
118// Tag the consumer
119func Tag(tag string) ConsumerOpt {
120 return func(c *Consumer) {
121 c.tag = tag
122 }
123}
124
125// AutoTag set automatically generated tag like this
126// fmt.Sprintf(QueueName+"-pid-%d@%s", os.Getpid(), os.Hostname())

Callers 2

AutoTagFunction · 0.85
TestTagFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestTagFunction · 0.68