usecases

package
v0.0.0-...-6e23157 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 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 GetTempUseCase

type GetTempUseCase interface {
	Execute(ctx context.Context, input *TempInput) (*TempOutput, error)
}

func NewGetTempUseCase

func NewGetTempUseCase(ServiceWeatherService services.ServiceWeatherService) GetTempUseCase

type GetTempUseCaseImpl

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

func (*GetTempUseCaseImpl) Execute

func (u *GetTempUseCaseImpl) Execute(ctx context.Context, input *TempInput) (*TempOutput, error)

type TempInput

type TempInput struct {
	Cep string
}

type TempOutput

type TempOutput struct {
	StatusCode int
	Data       string
}

Jump to

Keyboard shortcuts

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