signalr

package
v1.11.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

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 added in v1.11.0

func (s *SignalR) GetComponentMetadata() map[string]string

GetComponentMetadata returns the metadata of the component.

func (*SignalR) Init

func (s *SignalR) Init(_ context.Context, metadata bindings.Metadata) (err error)

Init is responsible for initializing the SignalR output based on the metadata.

func (*SignalR) Invoke

func (*SignalR) Operations

func (s *SignalR) Operations() []bindings.OperationKind

type SignalRMetadata added in v1.11.0

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.

Jump to

Keyboard shortcuts

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