Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertInfo ¶
func GetCertInfo(record provider.GetRecordCertReq) (certInfo provider.RecordCert, err error)
GetCertInfo 获取证书信息
func GetMultipleCertInfo ¶
func GetMultipleCertInfo(records []provider.GetRecordCertReq) ([]provider.RecordCert, error)
Types ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
指标结构体
func (*Metrics) Collect ¶
func (c *Metrics) Collect(ch chan<- prometheus.Metric)
Collect 抓取最新的数据,传递给channel
func (*Metrics) Describe ¶
func (c *Metrics) Describe(ch chan<- *prometheus.Desc)
Describe 传递结构体中的指标描述符到channel
Click to show internal directories.
Click to hide internal directories.