fake

package
v2.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: OSL-3.0 Imports: 3 Imported by: 0

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