Documentation ¶
Index ¶
Constants ¶
View Source
const HOME_ROUTE = "/"
View Source
const PORTS_ROUTE = "/portmanteaus"
View Source
const STATUS_ROUTE = "/status"
Variables ¶
This section is empty.
Functions ¶
func AddPackingHandlers ¶
func AddPackingHandlers(c *PackingRecordContext)
func AddStatusHandlers ¶
func AddStatusHandlers(c *ReadContext)
func SetCommonHeaders ¶
func SetCommonHeaders(w http.ResponseWriter, d bool)
NOTE exported so that main can use it on OPTIONS req handling...
Types ¶
type PackingRecordContext ¶
type PackingRecordContext struct { Router *httprouter.Router Recorder PackingRecorder }
type PackingRecorderMock ¶
type ReadContext ¶
type ReadContext struct {
Router *httprouter.Router
}
Click to show internal directories.
Click to hide internal directories.