pbc

package
v0.0.1-beta.11 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: GPL-3.0 Imports: 8 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

func (*Client) Close

func (c *Client) Close() error

func (*Client) Connect

func (c *Client) Connect(ctx context.Context, url, token string, userId umid.UMID) error

func (*Client) Send

func (c *Client) Send(msg []byte) (err error)

func (*Client) SetCallback

func (c *Client) SetCallback(f func(msg posbus.Message))

func (*Client) SetToken

func (c *Client) SetToken(token string) error

func (*Client) SetURL

func (c *Client) SetURL(url string) error

Directories

Path Synopsis
Package compat provide function to workaround autogenerated binding libraries.
Package compat provide function to workaround autogenerated binding libraries.

Jump to

Keyboard shortcuts

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