Documentation ¶
Index ¶
Constants ¶
View Source
const ( CertificateTemplate = `` /* 2135-byte string literal not displayed */ CertificateTemplateCN = `` /* 2084-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepositoryCond ¶
type DepositoryCond struct {
From, Size int
Name, KID, ContentName string
StartTime, EndTime int64
}
func (*DepositoryCond) ToCond ¶
func (dc *DepositoryCond) ToCond() ([]string, []interface{})
type Interface ¶
type Interface interface { Get(DepositoryCond) (models.Depository, error) GetCertificate(cond DepositoryCond, language string) ([]byte, error) List(DepositoryCond) ([]models.Depository, int64, error) }
func NewDBHandler ¶
func NewLoggerHandler ¶
func NewLoggerHandler() Interface
Click to show internal directories.
Click to hide internal directories.