Documentation
¶
Overview ¶
Package std provides an HTTP server driver based on the Go standard library net/http package.
This is the simplest driver available, using http.ServeMux for routing. For production use, consider the gin or fiber drivers which offer better performance and features.
Usage:
import (
httpServer "github.com/tx7do/go-wind-plugins/transport/http"
"github.com/tx7do/go-wind-plugins/transport/http/driver/std"
)
srv := httpServer.NewServer(":8080", httpServer.WithDriver(std.NewDriver()))
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.