hookschecker

package
v0.0.0-...-b3f87a3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeMessage = "message"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventForBot

type EventForBot struct {
	Type    string `json:"type"`
	Message string `json:"message"`
}

EventForBot - input object to recive from others services.

type Hook

type Hook struct {
	URL  string
	Chat int64
}

Hook - type for hook listener description.

func (Hook) Watch

func (hook Hook) Watch(
	ctx context.Context,
	client interfaces.MessageSender,
)

Watch - start watching hook.

Jump to

Keyboard shortcuts

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