Documentation ¶
Overview ¶
Package handlers ...
Index ¶
- type C2Handler
- func (h *C2Handler) AddCheckboxItem(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) AddNote(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) AddNoteItem(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) AddUser(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) AddUserToNote(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) CheckContent(r *http.Request) bool
- func (h *C2Handler) DeleteCheckboxItem(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) DeleteNote(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) DeleteNoteItem(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) GetNew() Handler
- func (h *C2Handler) GetNote(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) GetNoteUserList(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) GetUser(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) GetUsersNotes(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) Login(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) ProcessBody(r *http.Request, obj interface{}) (bool, error)
- func (h *C2Handler) ResetPassword(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) SetContentType(w http.ResponseWriter)
- func (h *C2Handler) SetLogLevel(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) UpdateCheckboxItem(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) UpdateNote(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) UpdateNoteItem(w http.ResponseWriter, r *http.Request)
- func (h *C2Handler) UpdateUser(w http.ResponseWriter, r *http.Request)
- type Handler
- type LogLevel
- type LogResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type C2Handler ¶
C2Handler C2Handler
func (*C2Handler) AddCheckboxItem ¶
func (h *C2Handler) AddCheckboxItem(w http.ResponseWriter, r *http.Request)
AddCheckboxItem AddCheckboxItem
func (*C2Handler) AddNote ¶
func (h *C2Handler) AddNote(w http.ResponseWriter, r *http.Request)
AddNote AddNote
func (*C2Handler) AddNoteItem ¶
func (h *C2Handler) AddNoteItem(w http.ResponseWriter, r *http.Request)
AddNoteItem AddNoteItem
func (*C2Handler) AddUser ¶
func (h *C2Handler) AddUser(w http.ResponseWriter, r *http.Request)
AddUser AddUser
func (*C2Handler) AddUserToNote ¶
func (h *C2Handler) AddUserToNote(w http.ResponseWriter, r *http.Request)
AddUserToNote AddUserToNote
func (*C2Handler) CheckContent ¶
CheckContent CheckContent
func (*C2Handler) DeleteCheckboxItem ¶
func (h *C2Handler) DeleteCheckboxItem(w http.ResponseWriter, r *http.Request)
DeleteCheckboxItem DeleteCheckboxItem
func (*C2Handler) DeleteNote ¶
func (h *C2Handler) DeleteNote(w http.ResponseWriter, r *http.Request)
DeleteNote DeleteNote
func (*C2Handler) DeleteNoteItem ¶
func (h *C2Handler) DeleteNoteItem(w http.ResponseWriter, r *http.Request)
DeleteNoteItem DeleteNoteItem
func (*C2Handler) GetNote ¶
func (h *C2Handler) GetNote(w http.ResponseWriter, r *http.Request)
GetNote GetNote
func (*C2Handler) GetNoteUserList ¶
func (h *C2Handler) GetNoteUserList(w http.ResponseWriter, r *http.Request)
GetNoteUserList GetNoteUserList
func (*C2Handler) GetUser ¶
func (h *C2Handler) GetUser(w http.ResponseWriter, r *http.Request)
GetUser GetUser
func (*C2Handler) GetUsersNotes ¶
func (h *C2Handler) GetUsersNotes(w http.ResponseWriter, r *http.Request)
GetUsersNotes GetUsersNotes
func (*C2Handler) Login ¶
func (h *C2Handler) Login(w http.ResponseWriter, r *http.Request)
Login Login
func (*C2Handler) ProcessBody ¶
ProcessBody ProcessBody
func (*C2Handler) ResetPassword ¶
func (h *C2Handler) ResetPassword(w http.ResponseWriter, r *http.Request)
ResetPassword ResetPassword
func (*C2Handler) SetContentType ¶
func (h *C2Handler) SetContentType(w http.ResponseWriter)
SetContentType SetContentType
func (*C2Handler) SetLogLevel ¶
func (h *C2Handler) SetLogLevel(w http.ResponseWriter, r *http.Request)
SetLogLevel SetLogLevel
func (*C2Handler) UpdateCheckboxItem ¶
func (h *C2Handler) UpdateCheckboxItem(w http.ResponseWriter, r *http.Request)
UpdateCheckboxItem UpdateCheckboxItem
func (*C2Handler) UpdateNote ¶
func (h *C2Handler) UpdateNote(w http.ResponseWriter, r *http.Request)
UpdateNote UpdateNote
func (*C2Handler) UpdateNoteItem ¶
func (h *C2Handler) UpdateNoteItem(w http.ResponseWriter, r *http.Request)
UpdateNoteItem UpdateNoteItem
func (*C2Handler) UpdateUser ¶
func (h *C2Handler) UpdateUser(w http.ResponseWriter, r *http.Request)
UpdateUser UpdateUser
type Handler ¶
type Handler interface { AddUser(w http.ResponseWriter, r *http.Request) UpdateUser(w http.ResponseWriter, r *http.Request) GetUser(w http.ResponseWriter, r *http.Request) Login(w http.ResponseWriter, r *http.Request) ResetPassword(w http.ResponseWriter, r *http.Request) AddUserToNote(w http.ResponseWriter, r *http.Request) GetNoteUserList(w http.ResponseWriter, r *http.Request) AddNote(w http.ResponseWriter, r *http.Request) UpdateNote(w http.ResponseWriter, r *http.Request) GetNote(w http.ResponseWriter, r *http.Request) GetUsersNotes(w http.ResponseWriter, r *http.Request) DeleteNote(w http.ResponseWriter, r *http.Request) AddCheckboxItem(w http.ResponseWriter, r *http.Request) UpdateCheckboxItem(w http.ResponseWriter, r *http.Request) DeleteCheckboxItem(w http.ResponseWriter, r *http.Request) AddNoteItem(w http.ResponseWriter, r *http.Request) UpdateNoteItem(w http.ResponseWriter, r *http.Request) DeleteNoteItem(w http.ResponseWriter, r *http.Request) SetLogLevel(w http.ResponseWriter, r *http.Request) }
Handler Handler
type LogResponse ¶
LogResponse LogResponse