context

package
Version: v0.0.0-...-1a2a7be Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2017 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	User() *user.User
	AccessToken() *user.AccessToken
}

func MustNewContextByUser

func MustNewContextByUser(u *user.User) Context

func NewContext

func NewContext(u *user.User, t *user.AccessToken) Context

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL