endpoint

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(id string) (*cased.WebhooksEndpoint, error)

Delete a webhook endpoint by it's ID or name.

func Get

func Get(id string) (*cased.WebhooksEndpoint, error)

Retrieve a webhook endpoint by it's ID or name.

func New

Create a new webhook endpoint

func Update

Update a webhook endpoint by it's ID or name.

Types

type Client

type Client struct {
	Endpoint cased.Endpoint
}

func (Client) Delete

func (c Client) Delete(id string) (*cased.WebhooksEndpoint, error)

Delete a webhook endpoint by it's ID or name.

func (Client) Get

func (c Client) Get(id string) (*cased.WebhooksEndpoint, error)

Retrieve a webhook endpoint by it's ID or name.

func (Client) New

Create a new webhook endpoint

func (Client) Update

Update a webhook endpoint by it's ID or name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL