response

package
Version: v0.0.0-...-920ada6 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminResponse

func NewAdminResponse(data interface{}) common.Response

NewAdminResponse will create a new AdminResponse

Types

type AdminResponse

type AdminResponse struct {
	StatucCode int
	Data       echo.Map
}

AdminResponse usecase

func (*AdminResponse) GetData

func (r *AdminResponse) GetData() echo.Map

GetData Get ehco Map data

func (*AdminResponse) GetStatusCode

func (r *AdminResponse) GetStatusCode() int

GetStatusCode Get HTTP status code

Jump to

Keyboard shortcuts

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