model

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomError

type CustomError struct {
	Message string
	Detail  error
}

CustomError is using to create a model for custom exception

type FailedFinalizer

type FailedFinalizer struct {
	ResponseWriter *fasthttp.RequestCtx
	StdOut         *CustomError
}

FailedFinalizer is using to create a model for failed finalizing requests

func (FailedFinalizer) Finalize

func (hf FailedFinalizer) Finalize()

Finalize is using to finalize the request unsuccessfully

type SucceededFinalizer

type SucceededFinalizer struct {
	ResponseWriter *fasthttp.RequestCtx
	ContentType    string
	Headers        map[string]string
}

SucceededFinalizer is using to create a model for succeeded finalizing requests

func (SucceededFinalizer) Finalize

func (hf SucceededFinalizer) Finalize(params map[string]string, imageAsByte []byte)

Finalize is using to finalize the request successfully

Jump to

Keyboard shortcuts

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