pubsub_service

package
v0.13.0-rc.12 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 10 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