Documentation ¶
Index ¶
- func Req(c context.Context) *http.Request
- func Session(c context.Context) *fmodel.Session
- func SessionDec(s string) (t string, id string, hash []byte, err error)
- func SessionDel(rawid string) (err error)
- func SessionDelTenantAndId(t, id string) (err error)
- func SessionEnc(s *fmodel.Session) (id string, sessbs []byte)
- func SessionID(c context.Context) string
- func SessionLoad(rawid string) (sess *fmodel.Session, err error)
- func SessionSave(s *fmodel.Session) (id string, err error)
- func Setup(d *gorm.DB) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SessionDel ¶
func SessionDelTenantAndId ¶
func SessionSave ¶
SessionSave - persists the session.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.