package
Version:
v0.0.0-...-075a06a
Opens a new window with list of versions in this module.
Published: May 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Certificate struct {
Index int `json:"createdIndex,omitempty"`
Value Value `json:"value,omitempty"`
}
type Page[T any] struct {
Total int `json:"total,omitempty"`
List []T `json:"list,omitempty"`
}
type Response[T any] struct {
Key string `json:"key,omitempty"`
Value T `json:"value,omitempty"`
}
type UploadReq struct {
Content string `json:"cert,omitempty"`
Private string `json:"key,omitempty"`
SNIs []string `json:"snis,omitempty"`
Protocols []string `json:"ssl_protocols,omitempty"`
}
type UploadRsp struct {
Id string `json:"id,omitempty"`
Status int `json:"status,omitempty"`
}
type Value struct {
Id string `json:"id,omitempty"`
SNIs []string `json:"snis,omitempty"`
Key string `json:"key,omitempty"`
Cert string `json:"cert,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.