pubsub

package
v0.0.0-...-3f78249 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

func RunClientPub

func RunClientPub()

func RunClientSub

func RunClientSub()

Types

type PubsubService

type PubsubService struct {
	// contains filtered or unexported fields
}

func NewPubsubService

func NewPubsubService() *PubsubService

func (*PubsubService) Publish

func (p *PubsubService) Publish(
	ctx context.Context, arg *model.String,
) (*model.String, error)

func (*PubsubService) Subscribe

func (p *PubsubService) Subscribe(
	arg *model.String, stream model.PubsubService_SubscribeServer,
) error

Jump to

Keyboard shortcuts

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