Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdStore ¶
type EtcdStore struct {
// contains filtered or unexported fields
}
func NewEtcdStore ¶
func NewEtcdStore(cli *cronsun.Client, conf conf.SessionConfig) *EtcdStore
func (*EtcdStore) CleanSeesionData ¶
type SessionManager ¶
type SessionManager interface { Get(w http.ResponseWriter, r *http.Request) (*Session, error) Store(*Session) error Destroy(w http.ResponseWriter, r *http.Request) CleanSeesionData(id string) }
var Manager SessionManager
Click to show internal directories.
Click to hide internal directories.