pubsub

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildContainerConfig

func BuildContainerConfig() (*docker.ContainerConfig, error)

Types

type Component

type Component struct {
	Config    Config
	Container docker.Container
}

func New

func New(cli *docker.Docker, config Config) (*Component, error)

func (*Component) Start

func (c *Component) Start(ctx context.Context) error

func (*Component) Stop

func (c *Component) Stop(ctx context.Context) error

type Config

type Config struct {
	ProjectID          string
	TopicSubscriptions []TopicSubscriptions
}

type TopicSubscriptions

type TopicSubscriptions struct {
	Topic         string
	Subscriptions []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL