sink

package
v0.0.0-...-a2cc7b8 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sinker

type Sinker interface {
	// Mount is called upon being mount to a hooker, common tasks performed inside Mount:
	// - Check flag values.
	Mount() error
	// Process processes the payload extracted by the Hooker.
	Process(c context.Context, path string, payload interface{}) error
}

Sinker is the interface for receiving the webhook payload from the Hooker

func NewBytebase

func NewBytebase() Sinker

NewBytebase creates a Bytebase sinker

func NewLark

func NewLark() Sinker

NewLark creates a Lark sinker

Jump to

Keyboard shortcuts

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