web

package
v0.2.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(
	env skillz.Environment,
	sessionName string,
	logger *logrus.Logger,
	cache cache.PageAPI,

	auth auth.API,
	user user.API,

	renderer *render.Engine,
) *Service

func (*Service) Authorize

func (s *Service) Authorize(next buffalo.Handler) buffalo.Handler

func (*Service) SetCurrentUser

func (s *Service) SetCurrentUser(next buffalo.Handler) buffalo.Handler

func (*Service) Start

func (s *Service) Start() error

Jump to

Keyboard shortcuts

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