subscribe

package
v0.0.0-...-2e0bdef Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuccessResponseMessage = "Your email has been successfully registered in the newsletter"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Inport

func NewUsecase

func NewUsecase(outputPort Outport) Inport

type InportRequest

type InportRequest struct {
	entity.SubscriberCreateRequest
}

type InportResponse

type InportResponse struct {
	ID      vo.SubscriberID `json:"id"`
	Message string          `json:"message"`
}

type Outport

type Outport interface {
	contract.Repository
}

Jump to

Keyboard shortcuts

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