controllers

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForSparkleContext

func ForSparkleContext(ctx context.Context) (*users.User, *Errors.RestError)

ForContext finds the user from the context. REQUIRES Middleware to have run.

func GraphHandler

func GraphHandler() gin.HandlerFunc

func PlaygroundHandlers

func PlaygroundHandlers() gin.HandlerFunc

func TokenAuthMiddleware

func TokenAuthMiddleware(contextkey string) gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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