Documentation
¶
Index ¶
- type CertDetailParams
- type CertListParams
- type CertListResult
- type ForbidNewCertsParams
- type Logic
- func (l *Logic) CertDetail(params *CertDetailParams) (*schema.FullCert, error)
- func (l *Logic) CertList(params *CertListParams) (*CertListResult, error)
- func (l *Logic) ForbidNewCerts(params *ForbidNewCertsParams) error
- func (l *Logic) RecoverCerts(params *RecoverCertsParams) error
- func (l *Logic) RecoverForbidNewCerts(params *ForbidNewCertsParams) error
- func (l *Logic) RevokeCerts(params *RevokeCertsParams) error
- func (l *Logic) UnitsForbidQuery(params *UnitsForbidQueryParams) (*UnitsForbidQueryResult, error)
- type RecoverCertsParams
- type RevokeCertsParams
- type UnitForbidQueryItem
- type UnitsForbidQueryParams
- type UnitsForbidQueryResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertDetailParams ¶
type CertListParams ¶
type CertListResult ¶
type ForbidNewCertsParams ¶
type ForbidNewCertsParams struct {
UniqueIds []string `json:"unique_ids"`
}
type Logic ¶
type Logic struct {
// contains filtered or unexported fields
}
func (*Logic) CertDetail ¶
func (l *Logic) CertDetail(params *CertDetailParams) (*schema.FullCert, error)
func (*Logic) CertList ¶
func (l *Logic) CertList(params *CertListParams) (*CertListResult, error)
CertList Get certificate list
func (*Logic) ForbidNewCerts ¶
func (l *Logic) ForbidNewCerts(params *ForbidNewCertsParams) error
ForbidNewCerts Prohibit a uniqueID from requesting a certificate
1.UniqueID is not allowed to apply for a new certificate 2. Logging
func (*Logic) RecoverCerts ¶
func (l *Logic) RecoverCerts(params *RecoverCertsParams) error
RecoverCerts Restore certificate
- Recover certificate through snaki
- Unified certificate recovery through uniqueID
func (*Logic) RecoverForbidNewCerts ¶
func (l *Logic) RecoverForbidNewCerts(params *ForbidNewCertsParams) error
RecoverForbidNewCerts Recovery allows a uniqueID to request a certificate
- Allow uniqueID to request a new certificate
func (*Logic) RevokeCerts ¶
func (l *Logic) RevokeCerts(params *RevokeCertsParams) error
RevokeCerts Revocation of certificate
- Revoke certificate through snaki
- Unified revocation of certificates through uniqueID
func (*Logic) UnitsForbidQuery ¶
func (l *Logic) UnitsForbidQuery(params *UnitsForbidQueryParams) (*UnitsForbidQueryResult, error)
UnitsForbidQuery Query unique_id Is it forbidden to apply for certificate
type RecoverCertsParams ¶
type RevokeCertsParams ¶
type UnitForbidQueryItem ¶
type UnitsForbidQueryParams ¶
type UnitsForbidQueryParams struct {
UniqueIds []string `json:"unique_ids"`
}
type UnitsForbidQueryResult ¶
type UnitsForbidQueryResult struct {
Status map[string]UnitForbidQueryItem `json:"status"`
}
Click to show internal directories.
Click to hide internal directories.