Documentation ¶
Index ¶
- func UserAgent(s app.Software) string
- type Session
- func (s *Session) Clear()
- func (s *Session) Delete(k string)
- func (s *Session) DeleteFirstPartyCredentialID()
- func (s *Session) DeleteUserID()
- func (s *Session) FirstPartyCredentialID() (id string, err error)
- func (s *Session) Get(k string) (interface{}, bool)
- func (s *Session) Has(k string) bool
- func (s *Session) HasFirstPartyCredentialID() bool
- func (s *Session) Save(r *http.Request, w http.ResponseWriter) error
- func (s *Session) Set(k string, i interface{})
- func (s *Session) SetFirstPartyCredentialID(id string)
- func (s *Session) SetUserID(uuid string)
- func (s *Session) UserID() (uuid string, err error)
- type Sessions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) DeleteFirstPartyCredentialID ¶
func (s *Session) DeleteFirstPartyCredentialID()
func (*Session) DeleteUserID ¶
func (s *Session) DeleteUserID()
func (*Session) FirstPartyCredentialID ¶
func (*Session) HasFirstPartyCredentialID ¶
func (*Session) SetFirstPartyCredentialID ¶
Click to show internal directories.
Click to hide internal directories.