pkg

package
v0.0.0-...-e796f14 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 33 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

	Mongo       *mongo2.MongoConnection
	MongoConfig *configs.MongoConfig

	Redis       *redis.RedisConnection
	RedisConfig *configs.RedisConfig
}

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