Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ThumbupLogic ¶
func NewThumbupLogic ¶
func NewThumbupLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ThumbupLogic
NewThumbupLogic /*通过构造函数 NewThumbupLogic,可以确保 ThumbupLogic 结构体在创建时具备所有必要的依赖项和上下文信息*/
func (*ThumbupLogic) Consume ¶
func (l *ThumbupLogic) Consume(key, val string) error
Consume ThumbupLogic 结构体的方法 (消息队列中获取的键和值)
Click to show internal directories.
Click to hide internal directories.