Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultPort is the port which the CEN HTTP server is listening in on DefaultPort = 443 // DefaultAddr is the addr which the CEN HTTP server is listening in on DefaultAddr = "172.31.12.128" // EndpointTCNReport is the name of the HTTP endpoint for GET/POST of TCNReport for v4 EndpointTCNReport = "tcnreport/v0.4.0" // EndpointCENReport is the name of the HTTP endpoint for GET/POST of CENReport EndpointCENReport = "cenreport" // EndpointCENKeys is the name of the HTTP endpoint for GET CenKeys EndpointCENKeys = "cenkeys" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Handler http.Handler
HTTPPort uint16
// contains filtered or unexported fields
}
Server manages HTTP connections
func NewServer ¶
NewServer returns an HTTP Server to handle simple-api-process-flow https://github.com/Co-Epi/data-models/blob/master/simple-api-process-flow.md
Click to show internal directories.
Click to hide internal directories.