Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertDXClientDaemon ¶
type CertDXClientDaemon struct { Config *config.ClientConfigT ClientOpt []CertDXHttpClientOption // contains filtered or unexported fields }
func MakeCertDXClientDaemon ¶
func MakeCertDXClientDaemon() *CertDXClientDaemon
func (*CertDXClientDaemon) GRPCMain ¶
func (r *CertDXClientDaemon) GRPCMain()
func (*CertDXClientDaemon) HttpMain ¶
func (r *CertDXClientDaemon) HttpMain()
type CertDXHttpClient ¶
type CertDXHttpClient struct { HttpClient *http.Client Server *config.ClientHttpServer }
func MakeCertDXHttpClient ¶
func MakeCertDXHttpClient(s ...CertDXHttpClientOption) *CertDXHttpClient
func (*CertDXHttpClient) GetCert ¶
func (c *CertDXHttpClient) GetCert(domains []string) (*types.HttpCertResp, error)
func (*CertDXHttpClient) GetCertCtx ¶
func (c *CertDXHttpClient) GetCertCtx(ctx context.Context, domains []string) (*types.HttpCertResp, error)
type CertDXHttpClientOption ¶
type CertDXHttpClientOption func(client *CertDXHttpClient)
func WithCertDXInsecure ¶
func WithCertDXInsecure() CertDXHttpClientOption
func WithCertDXServerInfo ¶
func WithCertDXServerInfo(server *config.ClientHttpServer) CertDXHttpClientOption
type CertDXgRPCClient ¶
type CertDXgRPCClient struct { Kill chan struct{} Running atomic.Bool Received atomic.Pointer[chan struct{}] // contains filtered or unexported fields }
func MakeCertDXgRPCClient ¶
func MakeCertDXgRPCClient(server *config.ClientGRPCServer, certs []*watchingCert) *CertDXgRPCClient
func (*CertDXgRPCClient) Stream ¶
func (c *CertDXgRPCClient) Stream() error
Click to show internal directories.
Click to hide internal directories.