server

package
v0.0.0-...-a88bb20 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoggerAndRouter

func NewLoggerAndRouter(options EngineOptions) (l *logger.Logger, r *router.Router)

Types

type EngineOptions

type EngineOptions struct {
	Debug bool
}

type Server

type Server interface {
	Listen(port int, localOnly bool) error
	Shutdown(ctx context.Context) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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