Documentation
¶
Index ¶
Constants ¶
View Source
const ( HTTPServerAddrEnv = "HTTP_SERVER_ADDR" DefaultHTTPServerAddr = ":8080" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServerConfig ¶
func InitializeHTTPServerConfig ¶
func InitializeHTTPServerConfig(router *gin.Engine) *HTTPServerConfig
type Server ¶
type Server interface {
ListenAndServe() (err error)
}
func InitializeHTTPServer ¶
func InitializeHTTPServer(cfg *HTTPServerConfig) (Server, error)
Click to show internal directories.
Click to hide internal directories.