entity

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MailTrackerStatusNew     = "new"
	MailTrackerStatusQueued  = "queued"
	MailTrackerStatusSuccess = "success"
	MailTrackerStatusError   = "error"
)

Variables

Functions

This section is empty.

Types

type MailTrackerEntity added in v0.5.0

type MailTrackerEntity struct {
	orm.ORM      `orm:"table=email_tracker"`
	ID           uint64
	Status       string `orm:"enum=entity.MailTrackerStatusAll"`
	From         string `orm:"varchar=255"`
	To           string `orm:"varchar=255"`
	Subject      string
	TemplateFile string
	TemplateData string `orm:"length=max"`
	SenderError  string
	SentAt       *time.Time `orm:"time"`
	ReadAt       *time.Time `orm:"time"`
}

type OSSBucketCounterEntity

type OSSBucketCounterEntity struct {
	orm.ORM `orm:"table=oss_buckets_counters"`
	ID      uint64
	Counter uint64 `orm:"required"`
}

type S3BucketCounterEntity added in v0.4.4

type S3BucketCounterEntity struct {
	orm.ORM `orm:"table=s3_buckets_counters"`
	ID      uint64
	Counter uint64 `orm:"required"`
}

Jump to

Keyboard shortcuts

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