Documentation ¶
Overview ¶
Package webannotation webannotation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnnotationFunc ¶
type AnnotationFunc func(context.Context, *kit.Kit, auth.Authorizer, proto.Message) (*Annotation, error)
AnnotationFunc 函数类型
func GetAnnotationFunc ¶
func GetAnnotationFunc(msg proto.Message) (AnnotationFunc, bool)
GetAnnotationFunc 获取 msg 已注册的函数
type AnnotationInterface ¶
type AnnotationInterface interface {
Annotation(context.Context, *kit.Kit, auth.Authorizer) (*Annotation, error)
}
AnnotationInterface 接口
Click to show internal directories.
Click to hide internal directories.