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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserResponse

func NewUserResponse(data interface{}) common.Response

NewUserResponse will create a new UserResponse

Types

type UserResponse

type UserResponse struct {
	StatucCode int
	Data       echo.Map
}

UserResponse usecase

func (*UserResponse) GetData

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

GetData Get ehco Map data

func (*UserResponse) GetStatusCode

func (r *UserResponse) 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