Categorygithub.com/go-dawn/dawn
modulepackage
0.4.3
Repository: https://github.com/go-dawn/dawn.git
Documentation: pkg.go.dev

# README

Dawn

Dawn is an opinionated web framework that provides rapid development capabilities. It provides basic services such as logging, configuration, fiber extension, gorm extension, and event system.

The core idea of ​​Dawn is modularity. High-level business modules can invoke low-level modules, such as databases and so on.

Each module needs to implement its own two core methods of Init and Boot, and then register it in Sloop. General business modules need to implement its Register Routes method to register routes and provide http services.

The modules should be based on the principle of not recreating the wheel, and directly provides the original structure and method of the dependent library.

The libraries currently used are

Notice

This project is still under development, please do not use it in a production environment.

Why dawn?

Tribute to the first episode of one piece romance dawn. Let us set sail towards romance with the sloop.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Default returns an Sloop instance with the `RequestID`, `Logger`, `Recovery`, `Pprof` middleware already attached in default fiber app.
New returns a new Sloop with options.

# Constants

Version of current dawn package.

# Structs

Config is a struct holding the sloop settings.
Module is an empty struct implements Moduler interface and can be embedded into custom struct as a Moduler.
Sloop denotes Dawn application.

# Interfaces

Moduler is the interface that wraps the module's method.

# Type aliases

Cleanup is a function does cleanup works.