usernotifyrpc

package
v0.2.2-dev.7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package usernotifyrpc is the UserNotifyService (proto/mistgate/usernotify/v1): the bot of the people and their Telegram chats, for the admin. It only maps the messages to the proto-free calls of telegram.Service (user_admin.go), which does the work and checks who may call it. The roles that serve the admin API plug the handler in with app.Config.UserNotifyAPI; the Workers that do not (link, public, jobs, provision) never link it with its generated code and descriptors.

Who may call what is the table of internal/panel/auth (policy_usernotify.go): the bot and the chats are not open to API tokens or MCP; the settings of the kinds, the person's switched-off kinds and the journal are (a change only inside a plan the owner approved).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(tg *telegram.Service) (string, http.Handler)

Handler is app.Config.UserNotifyAPI: the UserNotifyService over tg.

Types

This section is empty.

Jump to

Keyboard shortcuts

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