Skip to content

Commit

Permalink
fix: Deprecate Proxy Checks API (#235)
Browse files Browse the repository at this point in the history
Deprecate the proxycheck package and the Create operation.
  • Loading branch information
gkats authored Feb 9, 2024
1 parent 06fddc8 commit 9776f2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proxycheck/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// Package proxycheck provides the Proxy Checks API.
//
// Deprecated: The Proxy Checks API is deprecated and will be
// removed in future versions.
package proxycheck

import (
Expand Down Expand Up @@ -34,6 +37,9 @@ type CreateParams struct {
}

// Create creates a proxy check.
//
// Deprecated: The operation is deprecated and will be removed in
// future versions.
func (c *Client) Create(ctx context.Context, params *CreateParams) (*clerk.ProxyCheck, error) {
req := clerk.NewAPIRequest(http.MethodPost, path)
req.SetParams(params)
Expand Down

0 comments on commit 9776f2e

Please sign in to comment.