pubsub

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InputName = "pubsub"

Functions

func Handler

func Handler() core.InputHandler

Types

type Config

type Config struct {
	ProjectID       string          `json:"project_id" validate:"required"`
	SubscriptionID  string          `json:"subscription_id" validate:"required"`
	Credentials     json.RawMessage `json:"credentials,omitempty"`
	CredentialsPath string          `json:"credentials_path"`
	FlushFrequency  int             `json:"flush_frequency" validate:"required|min:0"`
}

Jump to

Keyboard shortcuts

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