v1

package
v0.0.0-...-813fb4a Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2014 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewUserAPIHandler

func NewUserAPIHandler(userService *service.UserService) http.Handler

Types

type AuthenticationHandler

type AuthenticationHandler struct{ BaseHandler }

func (*AuthenticationHandler) ServeHTTP

func (h *AuthenticationHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type BaseHandler

type BaseHandler struct {
	UserService *service.UserService
}

func (*BaseHandler) UserID

func (base *BaseHandler) UserID(req *http.Request) (string, bool)

type ChangeEmailHandler

type ChangeEmailHandler struct{ BaseHandler }

func (*ChangeEmailHandler) ServeHTTP

func (h *ChangeEmailHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type ChangeLoginCredentialsHandler

type ChangeLoginCredentialsHandler struct{ BaseHandler }

func (*ChangeLoginCredentialsHandler) ServeHTTP

type ChangeProfileNameHandler

type ChangeProfileNameHandler struct{ BaseHandler }

func (*ChangeProfileNameHandler) ServeHTTP

func (h *ChangeProfileNameHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type CreateUserHandler

type CreateUserHandler struct {
	BaseHandler
}

func (*CreateUserHandler) ServeHTTP

func (h *CreateUserHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type FeedWriter

type FeedWriter struct{ BaseHandler }

func (*FeedWriter) ServeHTTP

func (h *FeedWriter) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type GetUserHandler

type GetUserHandler struct {
	BaseHandler
}

func (*GetUserHandler) ServeHTTP

func (h *GetUserHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type NewResetLoginCredentialsHandler

type NewResetLoginCredentialsHandler struct{ BaseHandler }

----------------------------------------------

func (*NewResetLoginCredentialsHandler) ServeHTTP

type ResetCredentialsTokenHandler

type ResetCredentialsTokenHandler struct{ BaseHandler }

----------------------------------------------

func (*ResetCredentialsTokenHandler) ServeHTTP

func (r *ResetCredentialsTokenHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type VerifyEmailHandler

type VerifyEmailHandler struct{ BaseHandler }

----------------------------------------------

func (*VerifyEmailHandler) Email

func (h *VerifyEmailHandler) Email(req *http.Request) (string, bool)

func (*VerifyEmailHandler) ServeHTTP

func (h *VerifyEmailHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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