fake

package
v0.0.0-...-fd23dd1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: OSL-3.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

View Source
const (
	UserSessionKey = "auth.fake.user"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UserService

type UserService struct {
}

func (*UserService) GetUser

func (u *UserService) GetUser(ctx context.Context, session *sessions.Session) *domain.User

func (*UserService) InitUser

func (us *UserService) InitUser(c context.Context, session *sessions.Session) error

func (*UserService) IsLoggedIn

func (u *UserService) IsLoggedIn(c context.Context, session *sessions.Session) bool

Jump to

Keyboard shortcuts

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