api

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MappingStandard

func MappingStandard(code int, dataList interface{}, responsePagination *godd.ResponsePagination) (response godd.ResponseDataList, err *godd.Error)

MappingStandard Func

Types

type HTTP

type HTTP struct {
	LifeCycle *godd.APILifeCycle
	// contains filtered or unexported fields
}

HTTP struct

func NewAPIHTTP

func NewAPIHTTP() *HTTP

NewAPIHTTP API

func (*HTTP) HandlerLifeCycle

func (api *HTTP) HandlerLifeCycle() godd.Handler

HandlerLifeCycle func

func (*HTTP) SetHandlerByPassLifeCycle

func (api *HTTP) SetHandlerByPassLifeCycle(handler godd.HandlerByPass)

SetHandlerByPassLifeCycle API

func (*HTTP) SetupHandlerHTTP

func (api *HTTP) SetupHandlerHTTP(service interface{}, serviceOptionList map[string]interface{}, i18n *godd.I18N, middleware *mdw.Middleware)

SetupHandlerHTTP API

Jump to

Keyboard shortcuts

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