Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgAlert ¶
MsgAlert holds the schema definition for the MsgAlert entity. if MsgAlert has state value that means it has been notified.
func (MsgAlert) Annotations ¶
func (MsgAlert) Annotations() []schema.Annotation
type MsgChannel ¶
MsgChannel 消息通道配置.消息通道是特定类型的receiver,每一消息通道对应着一个receiver配置.
func (MsgChannel) Annotations ¶
func (MsgChannel) Annotations() []schema.Annotation
func (MsgChannel) Hooks ¶
func (MsgChannel) Hooks() []ent.Hook
func (MsgChannel) Mixin ¶
func (MsgChannel) Mixin() []ent.Mixin
type MsgEvent ¶
MsgEvent 消息事件,消息事件相当于消息路由的入口配置.
func (MsgEvent) Annotations ¶
func (MsgEvent) Annotations() []schema.Annotation
type MsgInternal ¶
MsgInternal 站内信.
func (MsgInternal) Annotations ¶
func (MsgInternal) Annotations() []schema.Annotation
func (MsgInternal) Mixin ¶
func (MsgInternal) Mixin() []ent.Mixin
type MsgInternalTo ¶
MsgInternalTo 站内信.
func (MsgInternalTo) Annotations ¶
func (MsgInternalTo) Annotations() []schema.Annotation
func (MsgInternalTo) Fields ¶
func (MsgInternalTo) Fields() []ent.Field
Fields of the MsgInternalTo.
func (MsgInternalTo) Mixin ¶
func (MsgInternalTo) Mixin() []ent.Mixin
type MsgSubscriber ¶
MsgSubscriber holds the schema definition for the MsgSubscriber entity.
func (MsgSubscriber) Annotations ¶
func (MsgSubscriber) Annotations() []schema.Annotation
func (MsgSubscriber) Fields ¶
func (MsgSubscriber) Fields() []ent.Field
Fields of the MsgSubscriber.
func (MsgSubscriber) Hooks ¶
func (MsgSubscriber) Hooks() []ent.Hook
func (MsgSubscriber) Mixin ¶
func (MsgSubscriber) Mixin() []ent.Mixin
type MsgTemplate ¶
MsgTemplate 消息模板用于提供给用户自行定义模板.
func (MsgTemplate) Annotations ¶
func (MsgTemplate) Annotations() []schema.Annotation
func (MsgTemplate) Mixin ¶
func (MsgTemplate) Mixin() []ent.Mixin
type MsgType ¶
MsgType 应用的消息类型
func (MsgType) Annotations ¶
func (MsgType) Annotations() []schema.Annotation
type Nlog ¶
Nlog 提醒的发送记录,记录着由哪个接收者,发送通道类型,发送执行通道.
由于一个Receivers可能会有多个通道,而具体的通道并不记录名称,因此记录的是该发送通道的索引位置.
func (Nlog) Annotations ¶
func (Nlog) Annotations() []schema.Annotation
type NlogAlert ¶
NlogAlert holds the schema definition for the NlogAlert entity.
func (NlogAlert) Annotations ¶
func (NlogAlert) Annotations() []schema.Annotation
type OrgRoleUser ¶
func (OrgRoleUser) Annotations ¶
func (OrgRoleUser) Annotations() []schema.Annotation
func (OrgRoleUser) Fields ¶
func (OrgRoleUser) Fields() []ent.Field
func (OrgRoleUser) Hooks ¶
func (OrgRoleUser) Hooks() []ent.Hook
type Silence ¶
Silence holds the schema definition for the Silence entity.
func (Silence) Annotations ¶
func (Silence) Annotations() []schema.Annotation