Documentation ¶
Index ¶
- Constants
- type Controller
- func (c *Controller) H(h adminHandler) http.Handler
- func (c *Controller) ServeChangeOwnPassword(r *http.Request) *Response
- func (c *Controller) ServeChangeOwnPasswordDo(r *http.Request) *Response
- func (c *Controller) ServeChangePassword(r *http.Request) *Response
- func (c *Controller) ServeChangePasswordDo(r *http.Request) *Response
- func (c *Controller) ServeCreateTranscodePrefDo(r *http.Request) *Response
- func (c *Controller) ServeCreateUser(r *http.Request) *Response
- func (c *Controller) ServeCreateUserDo(r *http.Request) *Response
- func (c *Controller) ServeDeleteTranscodePrefDo(r *http.Request) *Response
- func (c *Controller) ServeDeleteUser(r *http.Request) *Response
- func (c *Controller) ServeDeleteUserDo(r *http.Request) *Response
- func (c *Controller) ServeHome(r *http.Request) *Response
- func (c *Controller) ServeLinkLastFMDo(r *http.Request) *Response
- func (c *Controller) ServeLogin(r *http.Request) *Response
- func (c *Controller) ServeLoginDo(w http.ResponseWriter, r *http.Request)
- func (c *Controller) ServeLogout(w http.ResponseWriter, r *http.Request)
- func (c *Controller) ServeNotFound(r *http.Request) *Response
- func (c *Controller) ServeStartScanDo(r *http.Request) *Response
- func (c *Controller) ServeUnlinkLastFMDo(r *http.Request) *Response
- func (c *Controller) ServeUpdateLastFMAPIKey(r *http.Request) *Response
- func (c *Controller) ServeUpdateLastFMAPIKeyDo(r *http.Request) *Response
- func (c *Controller) ServeUploadPlaylist(r *http.Request) *Response
- func (c *Controller) ServeUploadPlaylistDo(r *http.Request) *Response
- func (c *Controller) WithAdminSession(next http.Handler) http.Handler
- func (c *Controller) WithSession(next http.Handler) http.Handler
- func (c *Controller) WithUserSession(next http.Handler) http.Handler
- type CtxKey
- type Flash
- type FlashType
- type Response
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { *ctrlbase.Controller // contains filtered or unexported fields }
func New ¶
func New(base *ctrlbase.Controller) *Controller
func (*Controller) H ¶
func (c *Controller) H(h adminHandler) http.Handler
func (*Controller) ServeChangeOwnPassword ¶
func (c *Controller) ServeChangeOwnPassword(r *http.Request) *Response
func (*Controller) ServeChangeOwnPasswordDo ¶
func (c *Controller) ServeChangeOwnPasswordDo(r *http.Request) *Response
func (*Controller) ServeChangePassword ¶
func (c *Controller) ServeChangePassword(r *http.Request) *Response
func (*Controller) ServeChangePasswordDo ¶
func (c *Controller) ServeChangePasswordDo(r *http.Request) *Response
func (*Controller) ServeCreateTranscodePrefDo ¶ added in v0.8.2
func (c *Controller) ServeCreateTranscodePrefDo(r *http.Request) *Response
func (*Controller) ServeCreateUser ¶
func (c *Controller) ServeCreateUser(r *http.Request) *Response
func (*Controller) ServeCreateUserDo ¶
func (c *Controller) ServeCreateUserDo(r *http.Request) *Response
func (*Controller) ServeDeleteTranscodePrefDo ¶ added in v0.8.2
func (c *Controller) ServeDeleteTranscodePrefDo(r *http.Request) *Response
func (*Controller) ServeDeleteUser ¶
func (c *Controller) ServeDeleteUser(r *http.Request) *Response
func (*Controller) ServeDeleteUserDo ¶
func (c *Controller) ServeDeleteUserDo(r *http.Request) *Response
func (*Controller) ServeHome ¶
func (c *Controller) ServeHome(r *http.Request) *Response
func (*Controller) ServeLinkLastFMDo ¶
func (c *Controller) ServeLinkLastFMDo(r *http.Request) *Response
func (*Controller) ServeLogin ¶
func (c *Controller) ServeLogin(r *http.Request) *Response
func (*Controller) ServeLoginDo ¶
func (c *Controller) ServeLoginDo(w http.ResponseWriter, r *http.Request)
func (*Controller) ServeLogout ¶
func (c *Controller) ServeLogout(w http.ResponseWriter, r *http.Request)
func (*Controller) ServeNotFound ¶
func (c *Controller) ServeNotFound(r *http.Request) *Response
func (*Controller) ServeStartScanDo ¶
func (c *Controller) ServeStartScanDo(r *http.Request) *Response
func (*Controller) ServeUnlinkLastFMDo ¶
func (c *Controller) ServeUnlinkLastFMDo(r *http.Request) *Response
func (*Controller) ServeUpdateLastFMAPIKey ¶
func (c *Controller) ServeUpdateLastFMAPIKey(r *http.Request) *Response
func (*Controller) ServeUpdateLastFMAPIKeyDo ¶
func (c *Controller) ServeUpdateLastFMAPIKeyDo(r *http.Request) *Response
func (*Controller) ServeUploadPlaylist ¶ added in v0.3.0
func (c *Controller) ServeUploadPlaylist(r *http.Request) *Response
func (*Controller) ServeUploadPlaylistDo ¶ added in v0.3.0
func (c *Controller) ServeUploadPlaylistDo(r *http.Request) *Response
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.