Documentation
¶
Index ¶
- func Error(w http.ResponseWriter, r *http.Request, err error)
- func FormInt(r *http.Request, key string) int
- func FormIntPtr(r *http.Request, key string) *int
- func FormString(r *http.Request, key string) string
- func FormStringPtr(r *http.Request, key string) *string
- func OverrideMethod(next http.Handler) http.Handler
- func PostFormInt(r *http.Request, key string) int
- func PostFormIntPtr(r *http.Request, key string) *int
- func PostFormString(r *http.Request, key string) string
- func PostFormStringPtr(r *http.Request, key string) *string
- func URLInt(v url.Values, key string) int
- func URLIntPtr(v url.Values, key string) *int
- func URLString(v url.Values, key string) string
- func URLStringPtr(v url.Values, key string) *string
- func WriteHeader(w http.ResponseWriter, err error)
- type Handler
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OverrideMethod ¶
OverrideMethod overrides the request method if "_method" form field exists.
func WriteHeader ¶
func WriteHeader(w http.ResponseWriter, err error)
Types ¶
type Handler ¶
type Handler struct {
WidgetService tinyego.WidgetService
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler() *Handler
Click to show internal directories.
Click to hide internal directories.