Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultClient ¶
type DefaultClient struct {
// contains filtered or unexported fields
}
DefaultClient - default client that connects to webhookrelay service via gRPC protocol
func NewDefaultClient ¶
func NewDefaultClient(opts *Opts, relayer relay.Relayer) *DefaultClient
NewDefaultClient - create new default client with given options
func (*DefaultClient) StartRelay ¶
func (c *DefaultClient) StartRelay(filter *Filter) error
StartRelay - start relaying
type Filter ¶
type Filter struct {
Bucket, Destination string
}
Filter - optional filter that can be passed to the server
type WebhookRelayClient ¶
WebhookRelayClient - default webhookrelay interface
Click to show internal directories.
Click to hide internal directories.