pubsub2http

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubSub2HTTP

type PubSub2HTTP struct {
	PostURL string
}

PubSub2HTTP the struct for handle functions

func New

func New(postUrl string) *PubSub2HTTP

New creates new PubSub2HTTP struct

func (*PubSub2HTTP) HandleMessage

func (p *PubSub2HTTP) HandleMessage(ctx context.Context, m *pubsub.Message)

HandleMessage handles incoming messages

func (*PubSub2HTTP) Serve

func (p *PubSub2HTTP) Serve()

Server starts the server

Jump to

Keyboard shortcuts

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