Versions in this module Expand all Collapse all v0 v0.4.17 Feb 9, 2026 v0.4.16 Feb 2, 2026 v0.4.15 Jan 26, 2026 v0.4.14 Jan 19, 2026 v0.4.13 Jan 6, 2026 Changes in this version + type CertificateMeta struct + Certificate string + CertificateKey string + IntermediateCertificate string + type CertificateRecord struct + CreatedOn string + DomainNames []string + ExpiresOn string + Id int64 + Meta CertificateMeta + ModifiedOn string + NiceName string + Provider string + type Client struct + func NewClient(serverUrl, identity, secret string) (*Client, error) + func NewClientWithJwtToken(serverUrl, jwtToken string) (*Client, error) + func (c *Client) NginxCreateCertificate(req *NginxCreateCertificateRequest) (*NginxCreateCertificateResponse, error) + func (c *Client) NginxCreateCertificateWithContext(ctx context.Context, req *NginxCreateCertificateRequest) (*NginxCreateCertificateResponse, error) + func (c *Client) NginxListCertificates(req *NginxListCertificatesRequest) (*NginxListCertificatesResponse, error) + func (c *Client) NginxListCertificatesWithContext(ctx context.Context, req *NginxListCertificatesRequest) (*NginxListCertificatesResponse, error) + func (c *Client) NginxListDeadHosts(req *NginxListDeadHostsRequest) (*NginxListDeadHostsResponse, error) + func (c *Client) NginxListDeadHostsWithContext(ctx context.Context, req *NginxListDeadHostsRequest) (*NginxListDeadHostsResponse, error) + func (c *Client) NginxListProxyHosts(req *NginxListProxyHostsRequest) (*NginxListProxyHostsResponse, error) + func (c *Client) NginxListProxyHostsWithContext(ctx context.Context, req *NginxListProxyHostsRequest) (*NginxListProxyHostsResponse, error) + func (c *Client) NginxListRedirectionHosts(req *NginxListRedirectionHostsRequest) (*NginxListRedirectionHostsResponse, error) + func (c *Client) NginxListRedirectionHostsWithContext(ctx context.Context, req *NginxListRedirectionHostsRequest) (*NginxListRedirectionHostsResponse, error) + func (c *Client) NginxListStreams(req *NginxListStreamsRequest) (*NginxListStreamsResponse, error) + func (c *Client) NginxListStreamsWithContext(ctx context.Context, req *NginxListStreamsRequest) (*NginxListStreamsResponse, error) + func (c *Client) NginxUpdateDeadHost(hostId int64, req *NginxUpdateDeadHostRequest) (*NginxUpdateDeadHostResponse, error) + func (c *Client) NginxUpdateDeadHostWithContext(ctx context.Context, hostId int64, req *NginxUpdateDeadHostRequest) (*NginxUpdateDeadHostResponse, error) + func (c *Client) NginxUpdateProxyHost(hostId int64, req *NginxUpdateProxyHostRequest) (*NginxUpdateProxyHostResponse, error) + func (c *Client) NginxUpdateProxyHostWithContext(ctx context.Context, hostId int64, req *NginxUpdateProxyHostRequest) (*NginxUpdateProxyHostResponse, error) + func (c *Client) NginxUpdateRedirectionHost(hostId int64, req *NginxUpdateRedirectionHostRequest) (*NginxUpdateRedirectionHostResponse, error) + func (c *Client) NginxUpdateRedirectionHostWithContext(ctx context.Context, hostId int64, req *NginxUpdateRedirectionHostRequest) (*NginxUpdateRedirectionHostResponse, error) + func (c *Client) NginxUpdateStream(hostId int64, req *NginxUpdateStreamRequest) (*NginxUpdateStreamResponse, error) + func (c *Client) NginxUpdateStreamWithContext(ctx context.Context, hostId int64, req *NginxUpdateStreamRequest) (*NginxUpdateStreamResponse, error) + func (c *Client) NginxUploadCertificate(certId int64, req *NginxUploadCertificateRequest) (*NginxUploadCertificateResponse, error) + func (c *Client) NginxUploadCertificateWithContext(ctx context.Context, certId int64, req *NginxUploadCertificateRequest) (*NginxUploadCertificateResponse, error) + func (c *Client) SetTLSConfig(config *tls.Config) *Client + func (c *Client) SetTimeout(timeout time.Duration) *Client + func (c *Client) SettingsGetDefaultSite(req *SettingsGetDefaultSiteRequest) (*SettingsGetDefaultSiteResponse, error) + func (c *Client) SettingsGetDefaultSiteWithContext(ctx context.Context, req *SettingsGetDefaultSiteRequest) (*SettingsGetDefaultSiteResponse, error) + func (c *Client) SettingsSetDefaultSite(req *SettingsSetDefaultSiteRequest) (*SettingsSetDefaultSiteResponse, error) + func (c *Client) SettingsSetDefaultSiteWithContext(ctx context.Context, req *SettingsSetDefaultSiteRequest) (*SettingsSetDefaultSiteResponse, error) + type DeadHostRecord struct + HstsEnabled bool + HstsSubdomains bool + Http2Support bool + SslForced bool + type HostMeta struct + NginxErr any + NginxOnline bool + type HostRecord struct + CertificateId int64 + CreatedOn string + DomainNames []string + Enabled bool + Id int64 + Meta HostMeta + ModifiedOn string + type NginxCreateCertificateRequest struct + NiceName string + Provider string + type NginxCreateCertificateResponse struct + type NginxListCertificatesRequest struct + Expand *string + type NginxListCertificatesResponse = []*CertificateRecord + type NginxListDeadHostsRequest struct + Expand *string + type NginxListDeadHostsResponse = []*DeadHostRecord + type NginxListProxyHostsRequest struct + Expand *string + type NginxListProxyHostsResponse = []*ProxyHostRecord + type NginxListRedirectionHostsRequest struct + Expand *string + type NginxListRedirectionHostsResponse = []*RedirectionHostRecord + type NginxListStreamsRequest struct + Expand *string + type NginxListStreamsResponse = []*StreamHostRecord + type NginxUpdateDeadHostRequest struct + CertificateId *int64 + type NginxUpdateDeadHostResponse struct + type NginxUpdateProxyHostRequest struct + CertificateId *int64 + type NginxUpdateProxyHostResponse struct + type NginxUpdateRedirectionHostRequest struct + CertificateId *int64 + type NginxUpdateRedirectionHostResponse struct + type NginxUpdateStreamRequest struct + CertificateId *int64 + type NginxUpdateStreamResponse struct + type NginxUploadCertificateRequest struct + type NginxUploadCertificateResponse struct + type ProxyHostRecord struct + ForwardHost string + ForwardPort int32 + ForwardScheme string + HstsEnabled bool + HstsSubdomains bool + Http2Support bool + SslForced bool + type RedirectionHostRecord struct + ForwardDomainName string + ForwardHttpCode int32 + ForwardScheme string + HstsEnabled bool + HstsSubdomains bool + Http2Support bool + SslForced bool + type SettingsGetDefaultSiteRequest struct + type SettingsGetDefaultSiteResponse struct + Description string + Id string + Meta struct{ ... } + Name string + Value string + type SettingsSetDefaultSiteRequest struct + Meta struct{ ... } + Value string + type SettingsSetDefaultSiteResponse struct + type StreamHostRecord struct + ForwardingHost string + ForwardingPort int32 + IncomingPort int32 + TcpForwarding bool + UdpForwarding bool