Documentation
¶
Overview ¶
Package api define the API of the tiny URL service.
Index ¶
Constants ¶
View Source
const ( // DefaultHost default host DefaultHost = "localhost" // DefaultPort default http server port DefaultPort = 8080 // DefaultAPIPrefix default api prefix DefaultAPIPrefix = "/management" // VersionV1 api version VersionV1 = "/v1" )
Variables ¶
View Source
var DefaultServerAddr = fmt.Sprintf("%s:%d", DefaultHost, DefaultPort)
DefaultServerAddr default server addr make sure the value is formatted as "host:port"
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.