event

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 Get

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

Retrieve an event specified by the event ID.

func New

func New(params *cased.EventParams) (*cased.Event, error)

Publish a new event.

Types

type Client

type Client struct {
	Endpoint cased.Endpoint
}

func (Client) Get

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

Retrieve an event specified by the event ID.

func (Client) New

func (c Client) New(params *cased.EventParams) (*cased.Event, error)

Publish a new event.

Jump to

Keyboard shortcuts

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