Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(configuration *Configuration) (*server, error)
Types ¶
type ActiveSessions ¶
type ActiveSessions struct {
sessions.SessionInfo
}
func (*ActiveSessions) CurrentUser ¶
func (t *ActiveSessions) CurrentUser(response http.ResponseWriter, request *http.Request) datastore.User
func (*ActiveSessions) SetCurrentUser ¶
func (t *ActiveSessions) SetCurrentUser(response http.ResponseWriter, request *http.Request, user datastore.User) error
type Authentication ¶
type Authentication struct { controller.HTTPController Sessions *ActiveSessions }
type AuthenticationHandler ¶
type AuthenticationHandler struct { http.Handler Sessions *ActiveSessions }
func (*AuthenticationHandler) ServeHTTP ¶
func (s *AuthenticationHandler) ServeHTTP(response http.ResponseWriter, request *http.Request)
type Collection ¶
type Collection struct { Sessions *ActiveSessions // contains filtered or unexported fields }
func (*Collection) Base ¶
func (t *Collection) Base() string
func (*Collection) SetBase ¶
func (t *Collection) SetBase(base string) controller.HTTPController
type Configuration ¶
type Developer ¶
type Developer struct { Sessions *ActiveSessions // contains filtered or unexported fields }
func (*Developer) SetBase ¶
func (t *Developer) SetBase(base string) controller.HTTPController
type Device ¶
type Device struct { Sessions *ActiveSessions // contains filtered or unexported fields }
func (*Device) SetBase ¶
func (t *Device) SetBase(base string) controller.HTTPController
type Internet ¶
type Internet struct { Sessions *ActiveSessions // contains filtered or unexported fields }
func (*Internet) SetBase ¶
func (t *Internet) SetBase(base string) controller.HTTPController
type Root ¶
type Root struct { Sessions *ActiveSessions NotFoundHandler http.Handler // contains filtered or unexported fields }
func (*Root) SetBase ¶
func (t *Root) SetBase(base string) controller.HTTPController
type User ¶
type User struct { Sessions *ActiveSessions // contains filtered or unexported fields }
func (*User) SetBase ¶
func (t *User) SetBase(base string) controller.HTTPController
type UsersCollections ¶
type UsersCollections struct { Sessions *ActiveSessions // contains filtered or unexported fields }
func (*UsersCollections) Base ¶
func (t *UsersCollections) Base() string
func (*UsersCollections) SetBase ¶
func (t *UsersCollections) SetBase(base string) controller.HTTPController
Click to show internal directories.
Click to hide internal directories.