pubsub_service

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (events.EventService, error)

func NewWithClient

func NewWithClient(client ifaces_pubsub.PubsubClient) (events.EventService, error)

Types

type PubsubEventService

type PubsubEventService struct {
	events.UnimplementedeventsPlugin
	// contains filtered or unexported fields
}

func (*PubsubEventService) ListTopics

func (s *PubsubEventService) ListTopics() ([]string, error)

func (*PubsubEventService) Publish

func (s *PubsubEventService) Publish(topic string, event *events.NitricEvent) error

Jump to

Keyboard shortcuts

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