Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve ¶
Server serves http.Handler as a normal HTTP server. if the given handler is nil, http.DefaultServeMux will be used. As a port number, PORT environment variable or default value (9900) is used. This function is implemented for non-JS environments for debugging purposes.
func ServeNonBlock ¶ added in v0.27.0
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
_examples
|
|
|
browser
module
|
|
|
cache
module
|
|
|
d1-blog-server
module
|
|
|
durable-object-counter
module
|
|
|
env
module
|
|
|
fetch
module
|
|
|
fetch-event
module
|
|
|
hello
module
|
|
|
incoming
module
|
|
|
kv-counter
module
|
|
|
multiple-handlers
module
|
|
|
mysql-blog-server
module
|
|
|
pages-functions
module
|
|
|
queues
module
|
|
|
r2-image-server
module
|
|
|
service-bindings
module
|
|
|
simple-json-server
module
|
|
|
sockets
module
|
|
|
_templates
|
|
|
browser/browser-go
command
|
|
|
cloudflare/worker-go
command
|
|
|
cloudflare/worker-tinygo
command
|
|
|
cloudflare/cron-go
module
|
|
|
cloudflare/cron-tinygo
module
|
|
|
cmd
|
|
|
workers-assets-gen
command
|
|
|
examples
|
|
|
d1-blog-server
module
|
|
|
simple-json-server
module
|
|
|
exp
|
|
|
internal
|
|
Click to show internal directories.
Click to hide internal directories.