presenter

package
v0.0.0-...-2249342 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IHttpPresenter

type IHttpPresenter interface {
	PresentBadRequest(http.ResponseWriter, *http.Request, error)
	PresentUnathorized(http.ResponseWriter, *http.Request, error)
	PresentNotFound(http.ResponseWriter, *http.Request, error)
	PresentTooManyRequests(http.ResponseWriter, *http.Request, error)
	PresentForbiddenRequest(http.ResponseWriter, *http.Request, error)
	PresentHealth(http.ResponseWriter, *http.Request)
	PresentChallenge(http.ResponseWriter, *http.Request, *entities.Challenge)
	PresentFungibleToken(http.ResponseWriter, *http.Request, *entities.FungibleToken)
	PresentNonFungibleToken(http.ResponseWriter, *http.Request, *entities.NonFungibleToken)
	PresentStatistic(http.ResponseWriter, *http.Request, *entities.Statistic)
	PresentInteraction(http.ResponseWriter, *http.Request, *entities.Interaction)
	PresentProfile(http.ResponseWriter, *http.Request, *entities.Profile)
	PresentSavedProfile(http.ResponseWriter, *http.Request)
	PresentTopProfiles(http.ResponseWriter, *http.Request, *[]entities.Profile)
	PresentStoreMetadata(http.ResponseWriter, *http.Request, *entities.StoreMetadata)
	PresentListingMetadata(http.ResponseWriter, *http.Request, *entities.NonFungibleMetadata)
	PresentListings(http.ResponseWriter, *http.Request, *[]entities.Listing)
	PresentRefreshedProfile(w http.ResponseWriter, r *http.Request)
	PresentCurrency(w http.ResponseWriter, r *http.Request, currency *entities.Currency)
}

func NewHttpPresenter

func NewHttpPresenter(logger common.ILogger, settings settings.ISettings) IHttpPresenter

Jump to

Keyboard shortcuts

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