Documentation
¶
Index ¶
- type Client
- func (c *Client) Activate(ctx context.Context, licenseKey, instanceID string) (*generated.ActivationResult, error)
- func (c *Client) CreateRenewalSession(ctx context.Context, licenseKey, instanceID, idempotencyKey string) (*generated.RenewalSessionResult, error)
- func (c *Client) CreateRenewalSessionWithReturnURL(ctx context.Context, licenseKey, instanceID, idempotencyKey, returnURL string) (*generated.RenewalSessionResult, error)
- func (c *Client) Deactivate(ctx context.Context, licenseKey, instanceID string) (*generated.DeactivationResult, error)
- func (c *Client) GetRenewalSessionStatus(ctx context.Context, licenseKey, instanceID, renewalSessionID string) (*generated.RenewalStatusResult, error)
- func (c *Client) Validate(ctx context.Context, licenseKey, instanceID string) (*generated.ValidationResult, error)
- type DigiteaError
- type FileInstanceIDStore
- type InstanceIDStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateRenewalSession ¶
func (*Client) CreateRenewalSessionWithReturnURL ¶
func (*Client) Deactivate ¶
func (*Client) GetRenewalSessionStatus ¶
type DigiteaError ¶
func (*DigiteaError) Error ¶
func (e *DigiteaError) Error() string
type FileInstanceIDStore ¶
type FileInstanceIDStore struct{ Path string }
func (FileInstanceIDStore) Load ¶
func (s FileInstanceIDStore) Load() (string, error)
func (FileInstanceIDStore) Save ¶
func (s FileInstanceIDStore) Save(value string) error
Click to show internal directories.
Click to hide internal directories.