Documentation
¶
Overview ¶
Package web implements finance HTTP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServerRuns = errors.New("web server runs")
ErrServerRuns means the web server already runs (see [Server.Serve]).
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the finance server to serve the results page, plots, etc.
func (*Server) Err ¶
Err returns the error from http.Server.ListenAndServe if any.
func (*Server) ListenAndServe ¶
ListenAndServe starts HTTP server listening on the addr in a goroutine. It pickss up a random port of the address does not have have or set to 0.
It returns an error if it fails to bind to the address. Use Server.Err to check for server errors.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package queryparam provides API to access query parameters from URL.
|
Package queryparam provides API to access query parameters from URL. |
Click to show internal directories.
Click to hide internal directories.