models

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailHost

type EmailHost struct {
	Name      string `bson:"name"       json:"name"`
	Port      int    `bson:"port"       json:"port"`
	Username  string `bson:"username"   json:"username"`
	Password  string `bson:"password"   json:"password"`
	IsTLS     bool   `bson:"is_tls"     json:"isTLS"`
	CreatedAt int64  `bson:"created_at" json:"created_at"`
	DeletedAt int64  `bson:"deleted_at" json:"deleted_at"`
	UpdatedAt int64  `bson:"updated_at" json:"updated_at"`
}

func (EmailHost) TableName

func (EmailHost) TableName() string

type EmailService

type EmailService struct {
	Name        string `json:"name"          bson:"name"`
	Address     string `json:"address"       bson:"address"`
	DisplayName string `json:"display_name"  bson:"display_name"`
	Theme       string `json:"theme"         bson:"theme"`
	CreatedAt   int64  `json:"created_at"    bson:"created_at"`
	UpdatedAt   int64  `json:"updated_at"    bson:"updated_at"`
	DeletedAt   int64  `json:"deleted_at"    bson:"deleted_at"`
}

func (EmailService) TableName

func (EmailService) TableName() string

Jump to

Keyboard shortcuts

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