context

package
v0.0.0-...-c869e04 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CurrentUserKey    = contextKey("currentUser")
	BuffaloContextKey = contextKey("buffaloContext")
	FileUploadKey     = contextKey("fileUpload")
)

Functions

func BuffaloContext

func BuffaloContext(c context.Context) buffalo.Context

func CurrentUser

func CurrentUser(c context.Context) *models.User

func FileUpload

func FileUpload(c context.Context) (multipart.File, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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