Documentation
¶
Index ¶
- func NewfileUploadRequest(uri string, paramName, path string) (*http.Request, error)
- type ActionsConfig
- func (ac *ActionsConfig) Create(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (ac *ActionsConfig) Delete(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (ac *ActionsConfig) Pixelette(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (ac *ActionsConfig) Preview(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (ac *ActionsConfig) Random(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (ac *ActionsConfig) Read(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (ac *ActionsConfig) ReadAll(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionsConfig ¶
type ActionsConfig struct { HostName string Port string Host string UploadDir string MaxUploadSize int64 TileSize int PuzzlerHost string TemplatePath string }
func (*ActionsConfig) Create ¶
func (ac *ActionsConfig) Create(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Let's use here the CRUD standard names
func (*ActionsConfig) Delete ¶
func (ac *ActionsConfig) Delete(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*ActionsConfig) Pixelette ¶
func (ac *ActionsConfig) Pixelette(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*ActionsConfig) Preview ¶
func (ac *ActionsConfig) Preview(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*ActionsConfig) Random ¶
func (ac *ActionsConfig) Random(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*ActionsConfig) Read ¶
func (ac *ActionsConfig) Read(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*ActionsConfig) ReadAll ¶
func (ac *ActionsConfig) ReadAll(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Click to show internal directories.
Click to hide internal directories.