Documentation ¶
Index ¶
- func NewSignalR(logger logger.Logger) bindings.OutputBinding
- type SignalR
- func (s *SignalR) GetComponentMetadata() map[string]string
- func (s *SignalR) Init(_ context.Context, metadata bindings.Metadata) (err error)
- func (s *SignalR) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (s *SignalR) Operations() []bindings.OperationKind
- type SignalRMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSignalR ¶
func NewSignalR(logger logger.Logger) bindings.OutputBinding
NewSignalR creates a new output binding for Azure SignalR.
Types ¶
type SignalR ¶
type SignalR struct {
// contains filtered or unexported fields
}
SignalR is an output binding for Azure SignalR.
func (*SignalR) GetComponentMetadata ¶
GetComponentMetadata returns the metadata of the component.
func (*SignalR) Init ¶
Init is responsible for initializing the SignalR output based on the metadata.
func (*SignalR) Invoke ¶
func (s *SignalR) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*SignalR) Operations ¶
func (s *SignalR) Operations() []bindings.OperationKind
type SignalRMetadata ¶
type SignalRMetadata struct { Endpoint string `mapstructure:"endpoint"` AccessKey string `mapstructure:"accessKey"` Hub string `mapstructure:"hub"` ConnectionString string `mapstructure:"connectionString"` }
Metadata keys. Azure AD credentials are parsed separately and not listed here.
Click to show internal directories.
Click to hide internal directories.