push

package
v0.0.0-...-717583c Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractData

func ExtractData(e event.Event) []byte

Types

type LinePusher

type LinePusher struct {
	ProjectId string
	TopicId   string
}

func NewDefaultLinePusher

func NewDefaultLinePusher() LinePusher

func (*LinePusher) SendLineMessage

func (l *LinePusher) SendLineMessage(ctx context.Context, txt []byte) error

type Pubsub

type Pubsub struct {
	Message pubsub.Message `json:"message"`
}

func New

func New(data []byte) Pubsub

Jump to

Keyboard shortcuts

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