Documentation
¶
Rendered for js/wasm
Index ¶
- func CallJS(scope_id, verb string, request js.Value) any
- func Commit(scope_id string)
- type ContentType
- type Handler
- type Props
- type Request
- type With
- func (w With) Connect(h Handler) Handler
- func (w With) Delete(h Handler) Handler
- func (w With) Get(h Handler) Handler
- func (w With) Head(h Handler) Handler
- func (w With) Options(h Handler) Handler
- func (w With) Patch(h Handler) Handler
- func (w With) Post(h Handler) Handler
- func (w With) Put(h Handler) Handler
- func (w With) Trace(h Handler) Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContentType ¶ added in v0.6.0
type ContentType string
const ( JSON ContentType = "application/json" Text ContentType = "text/plain" Form ContentType = "application/x-www-form-urlencoded" Multipart ContentType = "multipart/form-data" Blob ContentType = "application/octet-stream" )
type With ¶ added in v0.6.0
type With struct {
ContentType ContentType
}
Click to show internal directories.
Click to hide internal directories.