Export shim publisher functions

- Our out of tree shim would like to publish events with ttrpc. These
functions should be exposed so our shim doesn't need to reimplement
publisher logic.

Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com>
This commit is contained in:
Kathryn Baldauf
2019-08-27 17:07:40 -07:00
parent 309617819b
commit 2d8a65b1b2
2 changed files with 10 additions and 10 deletions

View File

@@ -169,7 +169,7 @@ func run(id string, initFunc Init, config Config) error {
ttrpcAddress := os.Getenv(ttrpcAddressEnv)
publisher, err := newPublisher(ttrpcAddress)
publisher, err := NewPublisher(ttrpcAddress)
if err != nil {
return err
}