Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame contribute delete
697 Bytes
package notification
import (
"context"
"github.com/target/goalert/auth/authlink"
"github.com/target/goalert/gadb"
)
// A ResultReceiver processes notification responses.
type ResultReceiver interface {
SetSendResult(ctx context.Context, res *SendResult) error
Receive(ctx context.Context, callbackID string, result Result) error
ReceiveSubject(ctx context.Context, providerID, subjectID, callbackID string, result Result) error
AuthLinkURL(ctx context.Context, providerID, subjectID string, meta authlink.Metadata) (string, error)
Start(context.Context, gadb.DestV1) error
Stop(context.Context, gadb.DestV1) error
IsKnownDest(ctx context.Context, dest gadb.DestV1) (bool, error)
}