Documentation ¶
Index ¶
- type Server
- func (s *Server) Environments() *fiber.App
- func (s *Server) Listen() *fiber.App
- func (s *Server) ListenGracefulShutdown() *fiber.App
- func (s *Server) Middlewares(middleware func(*fiber.App)) *fiber.App
- func (s *Server) New() *fiber.App
- func (s *Server) Routes(routes func(*fiber.App)) *fiber.App
- func (s *Server) Routines(routine func(*fiber.App)) *fiber.App
- func (s *Server) Start() *fiber.App
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Config *fiber.Config DateStart time.Time StageStatus string Address string Timeout string Name string Port string Host string Env string TZ string // contains filtered or unexported fields }
@title API Golang @version 1.0 @description API Padrão para star de projeto. @termsOfService http://swagger.io/terms/ @contact.name API Support @contact.email your@mail.com @license.name Apache 2.0 @license.url http://www.apache.org/licenses/LICENSE-2.0.html @BasePath /api/v1 @securityDefinitions.apikey ApiKeyAuth @in header @name Authorization
func (*Server) Environments ¶
func (s *Server) Environments() *fiber.App
func (*Server) ListenGracefulShutdown ¶
func (s *Server) ListenGracefulShutdown() *fiber.App
func (*Server) Middlewares ¶
func (s *Server) Middlewares(middleware func(*fiber.App)) *fiber.App
Click to show internal directories.
Click to hide internal directories.