Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct { Env string Location string Configurator c.Configurator Repository c.IRepository Mode string Router *gin.Engine Routes []c.Route TimeOuts TimeOuts }
Server represents the encapulsation of a service Don't rely on server defaults as this could significant impact performance] https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts/
func (*Server) Configure ¶
func (s *Server) Configure()
Configure returns the router that will be returned
func (*Server) CreateRouter ¶
CreateRouter returns the router that will be returned
Click to show internal directories.
Click to hide internal directories.