subscribe

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSubscription

type CreateSubscription interface {
	Create(sub_service.CreateSubscriptionInput) (*subscription.Subscription, error)
}

type SubscribeChannel

type SubscribeChannel interface {
	Execute(context.Context, SubscribeCommandInput) (*SubscribeCommandOutput, error)
}

type SubscribeChannelUseCase

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

func NewSubscribeChannelUsecase

func NewSubscribeChannelUsecase(
	authorizer app.RequestAuthorizer,
	writer app.SendMessageService,
	subscription CreateSubscription,
) *SubscribeChannelUseCase

func (*SubscribeChannelUseCase) Execute

type SubscribeCommandInput

type SubscribeCommandInput struct {
	Channel string
	Frame   app.FrameBuilder
}

type SubscribeCommandOutput

type SubscribeCommandOutput struct {
	SubID        string
	Subscription *subscription.Subscription
}

Jump to

Keyboard shortcuts

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