zephyr

package
v0.0.0-...-dc6244c Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 6 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() (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) SendMessage

func (c *Client) SendMessage(sender, class, instance string, body []string) error

func (*Client) SubscribeAndListen

func (c *Client) SubscribeAndListen(class, instance string) (<-chan *zephyr.Message, error)

SubscribeAndListen starts listening to a zephyr class and instance tuple. To listen for all instances on a class, pass "*" as the instance. Zephyr classes and instances are case-insensitive and messages of any case may be returned.

func (*Client) TicketExpirationTime

func (c *Client) TicketExpirationTime() time.Time

Jump to

Keyboard shortcuts

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