Documentation
¶
Overview ¶
Package tool defines internal-only interfaces and logic for tools.
Index ¶
- type MutableSession
- func (s *MutableSession) All() iter.Seq2[string, any]
- func (s *MutableSession) AppName() string
- func (s *MutableSession) Events() session.Events
- func (s *MutableSession) Get(key string) (any, error)
- func (s *MutableSession) ID() string
- func (s *MutableSession) LastUpdateTime() time.Time
- func (s *MutableSession) Set(key string, value any) error
- func (s *MutableSession) State() session.State
- func (s *MutableSession) UserID() string
- type MutableState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutableSession ¶
type MutableSession struct {
// contains filtered or unexported fields
}
MutableSession implements session.Session
func NewMutableSession ¶
func NewMutableSession(service session.Service, storedSession session.Session) *MutableSession
NewMutableSession creates and returns session.Session implementation.
func (*MutableSession) AppName ¶
func (s *MutableSession) AppName() string
func (*MutableSession) Events ¶
func (s *MutableSession) Events() session.Events
func (*MutableSession) ID ¶
func (s *MutableSession) ID() string
func (*MutableSession) LastUpdateTime ¶
func (s *MutableSession) LastUpdateTime() time.Time
func (*MutableSession) State ¶
func (s *MutableSession) State() session.State
func (*MutableSession) UserID ¶
func (s *MutableSession) UserID() string
type MutableState ¶
Click to show internal directories.
Click to hide internal directories.