unsubscribe

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry interface {
	Remove(id string)
	Get(id string) *subscription.Subscription
}

type UnsubscribeChannel

type UnsubscribeChannel interface {
	Execute(context.Context, UnsubscribeChannelCommandInput) error
}

type UnsubscribeChannelCommandInput

type UnsubscribeChannelCommandInput struct {
	SubscriptionId string
}

type UnsubscribeChannelUsecase

type UnsubscribeChannelUsecase struct {
	// contains filtered or unexported fields
}

func NewUnsubscribeChannelUsecase

func NewUnsubscribeChannelUsecase(unsubscriber Unsubscriber) *UnsubscribeChannelUsecase

func (*UnsubscribeChannelUsecase) Execute

type Unsubscriber

type Unsubscriber interface {
	Unsubscribe(context.Context, string) error
}

Jump to

Keyboard shortcuts

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