Documentation ¶
Index ¶
- Constants
- Variables
- type Login
- type Session
- type Store
- func (s *Store) InitilizeField(ft linject.FuncType, t reflect.Type) linject.FieldInjector
- func (s *Store) Inject(w http.ResponseWriter, r *http.Request) (v any, fn func([]reflect.Value), err error)
- func (s *Store) Login(w http.ResponseWriter, r *http.Request) (*Session, error)
- func (s *Store) Midware() linject.Field
- func (s *Store) Session(w http.ResponseWriter, r *http.Request) (*Session, error)
- func (s *Store) User(r *http.Request) (*lusers.User, error)
Constants ¶
View Source
const (
ErrLoginFailed = lerr.Str("Login failed")
)
Variables ¶
View Source
var ( StoreName = "User" ValueName = "User" )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.