Documentation
¶
Overview ¶
Package server implements an example server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶ added in v0.6.0
type Server struct {
// contains filtered or unexported fields
}
Server is an example server.
func New ¶ added in v0.6.0
New constructs a new Server, which greets people based on the time returned by the given nowFunc. If nowFunc is nil, the Server will default to time.Now.
Click to show internal directories.
Click to hide internal directories.