Documentation ¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) Ping(ctx context.Context) (*grpc.ServerInfo, error)
- func (c *Client) SendEvent(ctx context.Context, event *events.Event) error
- func (c *Client) SendEventStore(ctx context.Context, event *events_store.EventStore) error
- func (c *Client) SubscribeToEvents(ctx context.Context, subscription *events.EventsSubscription) error
- func (c *Client) SubscribeToEventsStore(ctx context.Context, subscription *events_store.EventStoreSubscription) error
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 (*Client) SendEventStore ¶
func (c *Client) SendEventStore(ctx context.Context, event *events_store.EventStore) error
func (*Client) SubscribeToEvents ¶
func (*Client) SubscribeToEventsStore ¶
func (c *Client) SubscribeToEventsStore(ctx context.Context, subscription *events_store.EventStoreSubscription) error
Directories ¶
Path | Synopsis |
---|---|
examples
|
|
pubsub/events/basic
Module
|
|
pubsub/events_store/basic
Module
|
|
pkg
|
|
pubsub
|
|
Click to show internal directories.
Click to hide internal directories.