Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuditMixin ¶
AuditMixin provides auditing for all records where enabled. The created_at, created_by, updated_at, and updated_by records are automatically populated when this mixin is enabled.
func (AuditMixin) Fields ¶
func (AuditMixin) Fields() []ent.Field
func (AuditMixin) Hooks ¶
func (AuditMixin) Hooks() []ent.Hook
type Reaction ¶
func (Reaction) Annotations ¶
func (Reaction) Annotations() []schema.Annotation
type Session ¶
Sessions are authentication sessions. They can either be first-party web auth sessions or OAuth sessions. Sessions should persist in the database for 1yr after expiry, but with the "disabled" boolean set to true.
Click to show internal directories.
Click to hide internal directories.