controllers

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DecodeJSON = commons.DecodeJSON

DecodeJSON is used to decode the given bytes into interface

View Source
var EncodeJSON = commons.EncodeJSON

EncodeJSON is used to encode the given interface into json bytes

View Source
var PersistenceDelete = persistence.Delete

PersistenceDelete is used to delete the entity

View Source
var PersistenceSave = persistence.Save

PersistenceSave is used to save the entity

View Source
var PersistenceView = persistence.View

PersistenceView is used to view the entity

Functions

func Handle

func Handle(ctx *fasthttp.RequestCtx)

Handle is used to handle the request to any endpoint

func HandleBase added in v1.0.2

func HandleBase(ctx *fasthttp.RequestCtx)

HandleBase is used to handle the request to the base endpoint

func HandleMock

func HandleMock(ctx *fasthttp.RequestCtx)

HandleMock is used to mock and endpoint

func HandleUnMock

func HandleUnMock(ctx *fasthttp.RequestCtx)

HandleUnMock is used to un mock and endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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