pkg

package
v0.0.0-...-0d658de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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) Listen

func (s *Server) Listen() *fiber.App

func (*Server) ListenGracefulShutdown

func (s *Server) ListenGracefulShutdown() *fiber.App

func (*Server) Middlewares

func (s *Server) Middlewares(middleware func(*fiber.App)) *fiber.App

func (*Server) New

func (s *Server) New() *fiber.App

func (*Server) Routes

func (s *Server) Routes(routes func(*fiber.App)) *fiber.App

func (*Server) Routines

func (s *Server) Routines(routine func(*fiber.App)) *fiber.App

func (*Server) Start

func (s *Server) Start() *fiber.App

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL