package
Version:
v0.0.0-...-84faedb
Opens a new window with list of versions in this module.
Published: Oct 19, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Code generated by goctl. DO NOT EDIT.
type AddCertFormUploadReq struct {
Id uint64 `json:"id"`
Certificate string `json:"certificate" validate:"required"`
PrivateKey string `json:"private_key" validate:"required"`
IssuerCertificate string `json:"issuer_certificate"`
}
type AddDomainReq struct {
Domain string `json:"domain" validate:"required,hostname_rfc1123"`
Email string `json:"email" validate:"required,email"`
Target string `json:"target" validate:"required"`
}
type AddOrRenewCertificateResp struct {
}
type Cert struct {
Id uint64 `json:"id"`
Domain string `json:"domain"`
Certificate string `json:"certificate"`
PrivateKey string `json:"private_key"`
Target string `json:"target"`
}
type CertDto struct {
Id uint64 `json:"id"`
Domain string `json:"domain"`
Target string `json:"target"`
Email string `json:"email"`
Expire int64 `json:"expire"`
CreatedAt int64 `json:"created_at"`
}
type CertSyncReq struct {
Maximum uint64 `form:"maximum"`
}
type CertSyncResp struct {
Certs []Cert `json:"certs"`
}
type CertificateRequest struct {
Id uint64 `json:"id"`
}
type GetCertsPagingReq struct {
Page int `form:"page" validate:"required"`
Size int `form:"size" validate:"required"`
Domain string `form:"domain,optional"`
Email string `form:"email,optional"`
}
type GetCertsPagingResp struct {
Certs []CertDto `json:"certs"`
Total uint64 `json:"total"`
}
type UserLoginReq struct {
Name string `json:"name" validate:"required,email"`
Pass string `json:"pass" validate:"required"`
}
type UserLoginResp struct {
Token string `json:"token"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.