Documentation
¶
Index ¶
- func Register(reg *objects.Registry)
- type Component
- func (c *Component) Get(r *http.Request, name string) (*sessions.Session, error)
- func (c *Component) Initialize() (err error)
- func (c *Component) InitializeDaemon() error
- func (c *Component) New(r *http.Request, name string) (*sessions.Session, error)
- func (c *Component) Save(r *http.Request, w http.ResponseWriter, s *sessions.Session) error
- func (c *Component) Set(w http.ResponseWriter, r *http.Request, key string, value interface{}) error
- func (c *Component) Unset(w http.ResponseWriter, r *http.Request, key string) error
- func (c *Component) Value(r *http.Request, key string) interface{}
- func (c *Component) ValueString(r *http.Request, key string) string
- type Initializer
- type Session
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Component ¶
type Component struct {
Initializer Initializer `com:"singleton"`
// contains filtered or unexported fields
}
func (*Component) Get ¶
func (*Component) New ¶
func (*Component) Save ¶
func (*Component) Set ¶
func (*Component) Unset ¶
type Session ¶
Source Files
¶
- com.go
Click to show internal directories.
Click to hide internal directories.