request

package
v0.0.0-...-ec3c541 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorize

func Authorize(w http.ResponseWriter, r *http.Request) bool

func RefreshToken

func RefreshToken(w http.ResponseWriter, r *http.Request) bool

func Respond

func Respond(w http.ResponseWriter, status int, body interface{}) error

Types

type Response

type Response struct {
	Status int         `json:"status"`
	Body   interface{} `json:"body"`
}

Jump to

Keyboard shortcuts

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