Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ProviderProductionSet provides a new Server for use in production. ProviderProductionSet = wire.NewSet(Provide, Cfg) )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Address string
}
Config contains the parameters for configuring a Server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server contains the Config and Router for serving requests.
func (*Server) ListenAndServe ¶
ListenAndServe begins serving requests.
Click to show internal directories.
Click to hide internal directories.