Documentation
¶
Index ¶
- type Config
- type GRPCEngine
- func (e *GRPCEngine) Close() error
- func (e *GRPCEngine) CreateClient(accessKey string, options ...common.ClientOption) error
- func (e *GRPCEngine) Publish(eventName string, recipients []string, payload map[string]interface{}, ...) (string, error)
- func (e *GRPCEngine) Subscribe(eventName string, options *common.SubscribeOptions) (common.Subscription, error)
- type TLSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCEngine ¶
type GRPCEngine struct {
*common.BaseEngine
// contains filtered or unexported fields
}
func NewGRPCEngine ¶
func (*GRPCEngine) Close ¶
func (e *GRPCEngine) Close() error
func (*GRPCEngine) CreateClient ¶
func (e *GRPCEngine) CreateClient(accessKey string, options ...common.ClientOption) error
func (*GRPCEngine) Publish ¶
func (e *GRPCEngine) Publish( eventName string, recipients []string, payload map[string]interface{}, metadata *common.EventMetadata, options *common.PublishOptions, ) (string, error)
func (*GRPCEngine) Subscribe ¶
func (e *GRPCEngine) Subscribe(eventName string, options *common.SubscribeOptions) (common.Subscription, error)
Click to show internal directories.
Click to hide internal directories.