applications

package
v0.0.0-...-36a2cef Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package applications Orchestration Business Use case, don't process business logic, business rule

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueueModelUseCase

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

func NewQueueModelUseCase

func NewQueueModelUseCase() *QueueModelUseCase

func (*QueueModelUseCase) CreateTopic

func (q *QueueModelUseCase) CreateTopic(ctx context.Context, topic string) error

func (*QueueModelUseCase) DeleteTopic

func (q *QueueModelUseCase) DeleteTopic(ctx context.Context, topic string)

func (*QueueModelUseCase) OmList

func (q *QueueModelUseCase) OmList(ctx context.Context) string

func (*QueueModelUseCase) Produce

func (q *QueueModelUseCase) Produce(ctx context.Context, topic string, msg []byte) error

func (*QueueModelUseCase) Subscribe

func (q *QueueModelUseCase) Subscribe(ctx context.Context, url string, topic string) error

func (*QueueModelUseCase) UnSubscribe

func (q *QueueModelUseCase) UnSubscribe(ctx context.Context, url string, topic string)

Jump to

Keyboard shortcuts

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