pkg

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServerSet = wire.NewSet(AppSet)

Functions

This section is empty.

Types

type Server

type Server struct {
	App       *fiber.App
	AppConfig *configs.AppConfig
	Listener  listener.IListener
}

Server represents the main server configuration.

func NewServer

func NewServer() (*Server, error)

func (*Server) Run

func (srv *Server) Run(ctx context.Context)

func (*Server) Shutdown

func (srv *Server) Shutdown(ctx context.Context)

Jump to

Keyboard shortcuts

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