Documentation ¶
Overview ¶
Code generated by "gen"; DO NOT EDIT. This file is meant to be re-generated in place and/or deleted at any time.
Package redirecturl provides the Redirect URLs API.
Index ¶
- func Create(ctx context.Context, params *CreateParams) (*clerk.RedirectURL, error)
- func Delete(ctx context.Context, id string) (*clerk.DeletedResource, error)
- func Get(ctx context.Context, id string) (*clerk.RedirectURL, error)
- func List(ctx context.Context, params *ListParams) (*clerk.RedirectURLList, error)
- type Client
- func (c *Client) Create(ctx context.Context, params *CreateParams) (*clerk.RedirectURL, error)
- func (c *Client) Delete(ctx context.Context, id string) (*clerk.DeletedResource, error)
- func (c *Client) Get(ctx context.Context, id string) (*clerk.RedirectURL, error)
- func (c *Client) List(ctx context.Context, params *ListParams) (*clerk.RedirectURLList, error)
- type CreateParams
- type ListParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, params *CreateParams) (*clerk.RedirectURL, error)
Create creates a new redirect url.
Types ¶
type Client ¶
type Client struct {
Backend clerk.Backend
}
Client is used to invoke the Redirect URLs API.
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, params *CreateParams) (*clerk.RedirectURL, error)
Create creates a new redirect url.
type CreateParams ¶
type CreateParams struct { clerk.APIParams URL *string `json:"url,omitempty"` }
type ListParams ¶
type ListParams struct {
clerk.APIParams
}
Click to show internal directories.
Click to hide internal directories.