mirror of
https://github.com/usual2970/certimate.git
synced 2025-08-20 08:11:45 +00:00
.github
.vscode
docker
internal
app
applicant
certificate
deployer
domain
notify
pkg
core
utils
vendors
btpanel-sdk
dogecloud-sdk
edgio-sdk
gname-sdk
huaweicloud-sdk
qiniu-sdk
auth.go
client.go
models.go
ucloud-sdk
volcengine-sdk
repository
rest
scheduler
statistics
workflow
migrations
ui
.dockerignore
.editorconfig
.gitignore
.goreleaser.yml
CHANGELOG.md
CONTRIBUTING.md
CONTRIBUTING_EN.md
Dockerfile
LICENSE.md
Makefile
README.md
README_EN.md
go.mod
go.sum
main.go
nixpacks.toml
usage.gif
55 lines
1.4 KiB
Go
55 lines
1.4 KiB
Go
package qiniusdk
|
|
|
|
type BaseResponse struct {
|
|
Code *int `json:"code,omitempty"`
|
|
Error *string `json:"error,omitempty"`
|
|
}
|
|
|
|
type UploadSslCertRequest struct {
|
|
Name string `json:"name"`
|
|
CommonName string `json:"common_name"`
|
|
Certificate string `json:"ca"`
|
|
PrivateKey string `json:"pri"`
|
|
}
|
|
|
|
type UploadSslCertResponse struct {
|
|
BaseResponse
|
|
CertID string `json:"certID"`
|
|
}
|
|
|
|
type DomainInfoHttpsData struct {
|
|
CertID string `json:"certId"`
|
|
ForceHttps bool `json:"forceHttps"`
|
|
Http2Enable bool `json:"http2Enable"`
|
|
}
|
|
|
|
type GetDomainInfoResponse struct {
|
|
BaseResponse
|
|
Name string `json:"name"`
|
|
Type string `json:"type"`
|
|
CName string `json:"cname"`
|
|
Https *DomainInfoHttpsData `json:"https"`
|
|
PareDomain string `json:"pareDomain"`
|
|
OperationType string `json:"operationType"`
|
|
OperatingState string `json:"operatingState"`
|
|
OperatingStateDesc string `json:"operatingStateDesc"`
|
|
CreateAt string `json:"createAt"`
|
|
ModifyAt string `json:"modifyAt"`
|
|
}
|
|
|
|
type ModifyDomainHttpsConfRequest struct {
|
|
DomainInfoHttpsData
|
|
}
|
|
|
|
type ModifyDomainHttpsConfResponse struct {
|
|
BaseResponse
|
|
}
|
|
|
|
type EnableDomainHttpsRequest struct {
|
|
DomainInfoHttpsData
|
|
}
|
|
|
|
type EnableDomainHttpsResponse struct {
|
|
BaseResponse
|
|
}
|