Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assembla/cony
/ newTestPublisher
Function
newTestPublisher
publisher_test.go:355–357 ·
view source on GitHub ↗
(opts ...PublisherOpt)
Source
from the content-addressed store, hash-verified
353
}
354
355
func
newTestPublisher(opts ...PublisherOpt) *Publisher {
356
return
NewPublisher(
"exchange.name"
,
"routing.key"
, opts...)
357
}
Callers
9
TestPublisher_Cancel
Function · 0.85
TestPublisher_Cancel_willNotBlock
Function · 0.85
TestPublisher_serve
Function · 0.85
TestPublisher_serve_customRoutingKey
Function · 0.85
TestPublisher_serve_errors
Function · 0.85
TestPublisher_Publish
Function · 0.85
TestPublisher_PublishWithStop
Function · 0.85
TestPublisher_Write
Function · 0.85
TestPublishingTemplate
Function · 0.85
Calls
1
NewPublisher
Function · 0.85
Tested by
no test coverage detected