bo

package
v1.1.34 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheConfigParams

type CacheConfigParams struct {
	Receivers map[string]*conf.Receiver `json:"receivers"`
	Templates map[string]string         `json:"templates"`
}

CacheConfigParams 缓存配置参数

func (*CacheConfigParams) String added in v1.1.0

func (c *CacheConfigParams) String() string

String 字符串化

type SendMsgParams

type SendMsgParams struct {
	Route     string
	Data      []byte
	RequestID string
}

SendMsgParams 发送消息请求参数

func (*SendMsgParams) Index added in v1.1.0

func (s *SendMsgParams) Index() string

func (*SendMsgParams) Key added in v1.1.0

func (s *SendMsgParams) Key(app notify.Notify) string

func (*SendMsgParams) Message added in v1.1.0

func (s *SendMsgParams) Message() *watch.Message

Message 接收到的消息

func (*SendMsgParams) String added in v1.1.0

func (s *SendMsgParams) String() string

Jump to

Keyboard shortcuts

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