juju: github.com/juju/juju/pubsub/centralhub Index | Files

package centralhub

import "github.com/juju/juju/pubsub/centralhub"


Package Files


func New Uses

func New(origin names.Tag) *pubsub.StructuredHub

New returns a new structured hub using yaml marshalling with an origin specified. The post processing ensures that the maps all have string keys so they messages can be marshalled between apiservers.

Package centralhub imports 6 packages (graph) and is imported by 19 packages. Updated 2020-04-26. Refresh now. Tools for package owners.