v2

package module
v2.0.0-...-7f95631 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

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(ctx context.Context, cfg *config.Connection) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) Ping

func (c *Client) Ping(ctx context.Context) (*grpc.ServerInfo, error)

func (*Client) SendEvent

func (c *Client) SendEvent(ctx context.Context, event *events.Event) error

func (*Client) SendEventStore

func (c *Client) SendEventStore(ctx context.Context, event *events_store.EventStore) error

func (*Client) SubscribeToEvents

func (c *Client) SubscribeToEvents(ctx context.Context, subscription *events.EventsSubscription) error

func (*Client) SubscribeToEventsStore

func (c *Client) SubscribeToEventsStore(ctx context.Context, subscription *events_store.EventStoreSubscription) error

Directories

Path Synopsis
examples
pkg
pubsub

Jump to

Keyboard shortcuts

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