handlers

package
v0.0.0-...-cad6fc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2017 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerLinkAddPost

type HandlerLinkAddPost struct {
	Configuration configuration.Configuration
	SessionFn     func() *mgo.Session
	Store         *sessions.CookieStore
}

func (HandlerLinkAddPost) ServeHTTP

func (h HandlerLinkAddPost) ServeHTTP(w http.ResponseWriter, req *http.Request)

type HandlerLoginGet

type HandlerLoginGet struct {
	Configuration configuration.Configuration
	SessionFn     func() *mgo.Session
	Store         *sessions.CookieStore
}

func (HandlerLoginGet) ServeHTTP

func (h HandlerLoginGet) ServeHTTP(w http.ResponseWriter, req *http.Request)

type HandlerLoginPost

type HandlerLoginPost struct {
	Configuration configuration.Configuration
	SessionFn     func() *mgo.Session
	Store         *sessions.CookieStore
}

func (HandlerLoginPost) ServeHTTP

func (h HandlerLoginPost) ServeHTTP(w http.ResponseWriter, req *http.Request)

type HandlerLogoutGet

type HandlerLogoutGet struct {
	Configuration configuration.Configuration
	SessionFn     func() *mgo.Session
	Store         *sessions.CookieStore
}

func (HandlerLogoutGet) ServeHTTP

func (h HandlerLogoutGet) ServeHTTP(w http.ResponseWriter, req *http.Request)

type HandlerRegisterPost

type HandlerRegisterPost struct {
	Configuration configuration.Configuration
	SessionFn     func() *mgo.Session
}

func (HandlerRegisterPost) ServeHTTP

func (h HandlerRegisterPost) ServeHTTP(w http.ResponseWriter, req *http.Request)

type HandlerRegisterVerificationGet

type HandlerRegisterVerificationGet struct {
	Configuration configuration.Configuration
	SessionFn     func() *mgo.Session
	Store         *sessions.CookieStore
}

func (HandlerRegisterVerificationGet) ServeHTTP

type HandlerRegisterVerificationResendPost

type HandlerRegisterVerificationResendPost struct {
	Configuration configuration.Configuration
	SessionFn     func() *mgo.Session
}

func (HandlerRegisterVerificationResendPost) ServeHTTP

type HandlerResetPasswordCheckGet

type HandlerResetPasswordCheckGet struct {
	Configuration configuration.Configuration
	SessionFn     func() *mgo.Session
	Store         *sessions.CookieStore
}

func (HandlerResetPasswordCheckGet) ServeHTTP

type HandlerResetPasswordEmailPost

type HandlerResetPasswordEmailPost struct {
	Configuration configuration.Configuration
	SessionFn     func() *mgo.Session
}

func (HandlerResetPasswordEmailPost) ServeHTTP

type HandlerResetPasswordPost

type HandlerResetPasswordPost struct {
	Configuration configuration.Configuration
	SessionFn     func() *mgo.Session
	Store         *sessions.CookieStore
}

func (HandlerResetPasswordPost) ServeHTTP

type LinkPost

type LinkPost struct {
	Link string   `json:"link"`
	Tags []string `json:"tags"`
}

type LoginPost

type LoginPost struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

type LoginResponse

type LoginResponse struct {
	Email  string          `json:"email"`
	Status partners.Status `json:"status"`
}

type RecivedPostData

type RecivedPostData struct {
	Email string `json:"email"`
}

type RegistrationPost

type RegistrationPost struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

type ResendPost

type ResendPost struct {
	Email string `json:"email"`
}

type ResetPasswordPost

type ResetPasswordPost struct {
	Password  string `json:"password"`
	Reference string `json:"id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL