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 ¶
func (usecase *SubscribeChannelUseCase) Execute(ctx context.Context, input SubscribeCommandInput) (*SubscribeCommandOutput, error)
type SubscribeCommandInput ¶
type SubscribeCommandInput struct {
Channel string
Frame app.FrameBuilder
}
type SubscribeCommandOutput ¶
type SubscribeCommandOutput struct {
SubID string
Subscription *subscription.Subscription
}
Click to show internal directories.
Click to hide internal directories.