entity

package
v0.0.0-...-84faedb Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseEntity

type BaseEntity struct {
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at" `
}

type Cert

type Cert struct {
	Id                uint64 `gorm:"type:bigint(20) UNSIGNED;not null;"`
	Domain            string `gorm:"type:varchar(64);not null;uniqueIndex:unique_domain"`
	Target            string `gorm:"type:varchar(255);not null;"`
	Email             string `gorm:"type:varchar(64);not null;"`
	Certificate       string `gorm:"type:text;" json:"certificate"`
	PrivateKey        string `gorm:"type:text;" json:"private_key"`
	IssuerCertificate string `gorm:"type:text;" json:"issuer_certificate"`
	Expire            int64  `gorm:"type:int(11);index:idx_expire" json:"expire"`
	BaseEntity
}

Jump to

Keyboard shortcuts

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