pubsub

package
v0.0.0-...-6152d30 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package pubsub communicates with pub/sub. https://godoc.org/google.golang.org/cloud/pubsub. https://godoc.org/google.golang.org/api/pubsub/v1.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPbsbService

func BuildPbsbService(serviceEmail string, key []byte) (*pbsb.Service, error)

BuildPbsbService builds the singlton service for Manager

Types

type Manager

type Manager struct {
	Service *pbsb.Service `inject:""`
	// contains filtered or unexported fields
}

Manager communicates with google cloud pub/sub

func (*Manager) ListTopics

func (m *Manager) ListTopics(projectID string)

ListTopics lists all pub/sub topics under the project

func (*Manager) Setup

func (m *Manager) Setup()

Setup acts as init function

Jump to

Keyboard shortcuts

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