Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CertificateSet = wire.NewSet(wire.Struct(new(CertificateSrv), "*"))
View Source
var ServiceSet = wire.NewSet( TlsSet, OcspSet, CertificateSet, ) // end
Functions ¶
This section is empty.
Types ¶
type CertificateSrv ¶
type CertificateSrv struct {
CertificateRepo *dao.CertificateRepo
}
func (*CertificateSrv) GetC ¶
func (a *CertificateSrv) GetC(ctx context.Context, key string) (interface{}, error)
func (*CertificateSrv) GetS ¶
func (a *CertificateSrv) GetS(ctx context.Context, id string) (*schema.Certificate, error)
type OcspSrv ¶
type OcspSrv struct { CertificateRepo *dao.CertificateRepo CfsslHandler *initx.CfsslHandler Cache *memorycacher.Cache Ctx context.Context }
type TlsSrv ¶
type TlsSrv struct { CertificateRepo *dao.CertificateRepo CfsslHandler *initx.CfsslHandler }
func (*TlsSrv) AuthSign ¶
func (a *TlsSrv) AuthSign(ctx context.Context, params auth.AuthenticatedRequest) (*schema.TlsShowResult, error)
Click to show internal directories.
Click to hide internal directories.