engine

package module
v0.0.0-...-3a8eb6e Latest Latest
Warning

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

Go to latest
Published: May 25, 2025 License: MIT Imports: 3 Imported by: 0

README

engine

TBD

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceConfig *Config
	Logger        *zap.Logger
	Routine       run.Group
)

Functions

func NewLogger

func NewLogger(name string) *zap.Logger

NewLogger creates a named logger using the global config.

Types

type Config

type Config struct {
	Name    string
	Version string
	Host    string
	IsDev   bool
}

func Start

func Start(cfg *Config) *Config

Start initializes the service configuration and logger.

Directories

Path Synopsis
rest module
validate module

Jump to

Keyboard shortcuts

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