schema

package
v0.5.41 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delivery

type Delivery struct {
	ent.Schema
}

Delivery represents the status of delivering a message to a subscription.

func (Delivery) Annotations

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

func (Delivery) Edges

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

func (Delivery) Fields

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

func (Delivery) Indexes

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

type Message

type Message struct {
	ent.Schema
}

Message represents a message sent on the bus.

func (Message) Annotations

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

func (Message) Edges

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

func (Message) Fields

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

func (Message) Indexes

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

type Subscription

type Subscription struct {
	ent.Schema
}

Subscription represents a source from which messages can be received. Messages received on a subscription are those published to its linked topic.

func (Subscription) Annotations

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

func (Subscription) Edges

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

func (Subscription) Fields

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

func (Subscription) Hooks

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

func (Subscription) Indexes

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

type Topic

type Topic struct {
	ent.Schema
}

Topic represents a destination to which messages can be published. Publishing a message to a topic sends it to all its subscriptions.

func (Topic) Annotations

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

func (Topic) Edges

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

func (Topic) Fields

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

func (Topic) Hooks

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

func (Topic) Indexes

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

Jump to

Keyboard shortcuts

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