usecase

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package usecase provides application use cases.

For the Dependency Rule it is not allowed to import platform.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Receive

func Receive(deps receiveDeps) usecase.Interactor

Receive creates use case interactor.

Types

type Form

type Form struct {
	GRecaptchaResponse string                  `formData:"g-recaptcha-response"`
	SuccessURL         string                  `formData:"success_url"`
	FailURL            string                  `formData:"fail_url"`
	Values             []string                `formData:"values"`
	Files              []*multipart.FileHeader `formData:"files"`
	// contains filtered or unexported fields
}

func (*Form) LoadFromHTTPRequest

func (f *Form) LoadFromHTTPRequest(r *http.Request) error

Jump to

Keyboard shortcuts

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