robot

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookRobot

type WebhookRobot interface {
	// RefreshPrivateRobotToken 刷新私有机器人令牌
	RefreshPrivateRobotToken(ctx context.Context)
	GetPrivateRobotToken() string
	GetTenantAccessToken(ctx context.Context) (string, error)
}

WebhookRobot 定义了Webhook机器人相关的接口

func NewWebhookRobot

func NewWebhookRobot(logger *zap.Logger) WebhookRobot

NewWebhookRobot 创建一个新的 webhookRobot 实例

Jump to

Keyboard shortcuts

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