plausibleclient

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 NewClient

func NewClient(url, apiKey string) *Client

func (*Client) CreateSite

func (c *Client) CreateSite(domain, timezone string) (*Site, error)

func (*Client) DeleteSite

func (c *Client) DeleteSite(domain string) error

func (*Client) GetSite added in v1.0.0

func (c *Client) GetSite(domain string) (*Site, error)

type Site added in v1.0.0

type Site struct {
	Domain   string `json:"domain"`
	Timezone string `json:"timezone"`
}

Jump to

Keyboard shortcuts

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