cert

package
v0.0.2-0...-18890bd Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyRoutes

func ApplyRoutes(r *gin.RouterGroup)

ApplyRoutes applies router to the gin Engine

func BottomHelper

func BottomHelper() string

func IssueCertificate

func IssueCertificate(db *gorm.DB, user dbmodel.User, certificateLabel string, IsDIY bool) dbmodel.Certificate

func LeftHelper

func LeftHelper() string

func MailTo

func MailTo() string

func PermanentCertificateTokenURL

func PermanentCertificateTokenURL(token string) string

func PermanentCertificateURL

func PermanentCertificateURL(certificateIssuanceID uint) string

func RightHelper

func RightHelper() string

func TopHelper

func TopHelper() string

Types

type CertPreview

type CertPreview struct {
	DocPreviewURL    string
	TaillyPreviewSVG string
}

type CustomPayload

type CustomPayload struct {
	jwt.Payload
	IssuerName    string
	UserRole      string
	CertificateID uint
}

type Pricing

type Pricing struct {
	PriceDiy  int
	Price     int
	CcySymbol string
	Ccy       string
}

Jump to

Keyboard shortcuts

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