signalr

package
v0.0.0-...-ebb33e4 Latest Latest
Warning

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

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

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

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

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