controller

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForContext

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

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

func Middleware

func Middleware() func(http.Handler) http.Handler

func PlaygroundHandlers

func PlaygroundHandlers() gin.HandlerFunc

}

func TokenAuthMiddleware

func TokenAuthMiddleware() 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