Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrConfig = fmt.Errorf("server: valid config required")
)
View Source
var RoutingTable = router.RouteTable{
templateRoutes,
groupRoutes,
}
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct { Addr string Bind string Port uint16 http.Server // contains filtered or unexported fields }
func New ¶
func New(cfg config.HTTPServer, pool *pgx.ConnPool, nomad *nomad.Client) *HTTPServer
func (*HTTPServer) Start ¶
func (srv *HTTPServer) Start()
Click to show internal directories.
Click to hide internal directories.