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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOAuth2Response

func NewOAuth2Response(ti oauth2.TokenInfo) common.Response

NewOAuth2Response will create a new OAuth2Response

Types

type OAuth2Response

type OAuth2Response struct {
	StatucCode int
	Data       echo.Map
}

OAuth2Response usecase

func (*OAuth2Response) GetData

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

GetData Get ehco Map data

func (*OAuth2Response) GetStatusCode

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