schema

package
v0.0.0-...-9f34937 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MsgAlert

type MsgAlert struct {
	ent.Schema
}

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

func (MsgAlert) Edges

func (MsgAlert) Edges() []ent.Edge

Edges of the MsgAlert.

func (MsgAlert) Fields

func (MsgAlert) Fields() []ent.Field

Fields of the MsgAlert.

func (MsgAlert) Indexes

func (MsgAlert) Indexes() []ent.Index

Indexes of the MsgAlert.

func (MsgAlert) Mixin

func (MsgAlert) Mixin() []ent.Mixin

type MsgChannel

type MsgChannel struct {
	ent.Schema
}

MsgChannel 消息通道配置.消息通道是特定类型的receiver,每一消息通道对应着一个receiver配置.

func (MsgChannel) Annotations

func (MsgChannel) Annotations() []schema.Annotation

func (MsgChannel) Edges

func (MsgChannel) Edges() []ent.Edge

Edges of the MsgChannel.

func (MsgChannel) Fields

func (MsgChannel) Fields() []ent.Field

Fields of the MsgChannel.

func (MsgChannel) Hooks

func (MsgChannel) Hooks() []ent.Hook

func (MsgChannel) Mixin

func (MsgChannel) Mixin() []ent.Mixin

type MsgEvent

type MsgEvent struct {
	ent.Schema
}

MsgEvent 消息事件,消息事件相当于消息路由的入口配置.

func (MsgEvent) Annotations

func (MsgEvent) Annotations() []schema.Annotation

func (MsgEvent) Edges

func (MsgEvent) Edges() []ent.Edge

Edges of the MsgEvent.

func (MsgEvent) Fields

func (MsgEvent) Fields() []ent.Field

Fields of the MsgEvent.

func (MsgEvent) Hooks

func (MsgEvent) Hooks() []ent.Hook

func (MsgEvent) Mixin

func (MsgEvent) Mixin() []ent.Mixin

type MsgInternal

type MsgInternal struct {
	ent.Schema
}

MsgInternal 站内信.

func (MsgInternal) Annotations

func (MsgInternal) Annotations() []schema.Annotation

func (MsgInternal) Edges

func (MsgInternal) Edges() []ent.Edge

Edges of the MsgInternal.

func (MsgInternal) Fields

func (MsgInternal) Fields() []ent.Field

Fields of the MsgInternal.

func (MsgInternal) Mixin

func (MsgInternal) Mixin() []ent.Mixin

type MsgInternalTo

type MsgInternalTo struct {
	ent.Schema
}

MsgInternalTo 站内信.

func (MsgInternalTo) Annotations

func (MsgInternalTo) Annotations() []schema.Annotation

func (MsgInternalTo) Edges

func (MsgInternalTo) Edges() []ent.Edge

Edges of the MsgInternalTo.

func (MsgInternalTo) Fields

func (MsgInternalTo) Fields() []ent.Field

Fields of the MsgInternalTo.

func (MsgInternalTo) Mixin

func (MsgInternalTo) Mixin() []ent.Mixin

type MsgSubscriber

type MsgSubscriber struct {
	ent.Schema
}

MsgSubscriber holds the schema definition for the MsgSubscriber entity.

func (MsgSubscriber) Annotations

func (MsgSubscriber) Annotations() []schema.Annotation

func (MsgSubscriber) Edges

func (MsgSubscriber) Edges() []ent.Edge

Edges of the MsgSubscriber.

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

type MsgTemplate struct {
	ent.Schema
}

MsgTemplate 消息模板用于提供给用户自行定义模板.

func (MsgTemplate) Annotations

func (MsgTemplate) Annotations() []schema.Annotation

func (MsgTemplate) Edges

func (MsgTemplate) Edges() []ent.Edge

Edges of the MsgTemplate.

func (MsgTemplate) Fields

func (MsgTemplate) Fields() []ent.Field

Fields of the MsgTemplate.

func (MsgTemplate) Mixin

func (MsgTemplate) Mixin() []ent.Mixin

type MsgType

type MsgType struct {
	ent.Schema
}

MsgType 应用的消息类型

func (MsgType) Annotations

func (MsgType) Annotations() []schema.Annotation

func (MsgType) Edges

func (MsgType) Edges() []ent.Edge

Edges of the MsgType.

func (MsgType) Fields

func (MsgType) Fields() []ent.Field

Fields of the MsgType.

func (MsgType) Hooks

func (MsgType) Hooks() []ent.Hook

func (MsgType) Mixin

func (MsgType) Mixin() []ent.Mixin

type Nlog

type Nlog struct {
	ent.Schema
}

Nlog 提醒的发送记录,记录着由哪个接收者,发送通道类型,发送执行通道.

由于一个Receivers可能会有多个通道,而具体的通道并不记录名称,因此记录的是该发送通道的索引位置.

func (Nlog) Annotations

func (Nlog) Annotations() []schema.Annotation

func (Nlog) Edges

func (Nlog) Edges() []ent.Edge

Edges of the Nlog.

func (Nlog) Fields

func (Nlog) Fields() []ent.Field

Fields of the Nlog.

func (Nlog) Mixin

func (Nlog) Mixin() []ent.Mixin

type NlogAlert

type NlogAlert struct {
	ent.Schema
}

NlogAlert holds the schema definition for the NlogAlert entity.

func (NlogAlert) Annotations

func (NlogAlert) Annotations() []schema.Annotation

func (NlogAlert) Edges

func (NlogAlert) Edges() []ent.Edge

Edges of the NlogAlert.

func (NlogAlert) Fields

func (NlogAlert) Fields() []ent.Field

Fields of the NlogAlert.

type OrgRoleUser

type OrgRoleUser struct {
	ent.Schema
}

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

type Silence struct {
	ent.Schema
}

Silence holds the schema definition for the Silence entity.

func (Silence) Annotations

func (Silence) Annotations() []schema.Annotation

func (Silence) Edges

func (Silence) Edges() []ent.Edge

Edges of the Silence.

func (Silence) Fields

func (Silence) Fields() []ent.Field

Fields of the Silence.

func (Silence) Mixin

func (Silence) Mixin() []ent.Mixin

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations

func (User) Annotations() []schema.Annotation

Annotations of the User.

func (User) Edges

func (User) Edges() []ent.Edge

func (User) Fields

func (User) Fields() []ent.Field

Fields of the User.

func (User) Hooks

func (User) Hooks() []ent.Hook

Hooks of the User.

Jump to

Keyboard shortcuts

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