http

package
v0.0.0-...-bd97fab Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizeRequest

func AuthorizeRequest() gin.HandlerFunc

AuthorizeRequest is used to authorize a request for a certain end-point group.

func GraphQLHandler

func GraphQLHandler() gin.HandlerFunc

GraphQLHandler return sthe handler for the graphQL URL

func HandleGoogleCallback

func HandleGoogleCallback(c *gin.Context)

HandleGoogleCallback is the callback function for OAuth

func HandleGoogleLogin

func HandleGoogleLogin(c *gin.Context)

HandleGoogleLogin Login Handler for OAuth

func PlaygroundHandler

func PlaygroundHandler() gin.HandlerFunc

PlaygroundHandler returns the handler for the GraphQL playground

func RandToken

func RandToken(length int) string

RandToken generates a random @length length token.

Types

This section is empty.

Jump to

Keyboard shortcuts

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