appkit

package module
v0.0.0-...-a180e12 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: MIT Imports: 6 Imported by: 0

README

appkit

Build Status Vulnerabilities Check Go Report Card Coverage Status Go Doc

An opinionated productive web framework to supercharge your feature development.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// Command provides the CLI building functionality.
	Command *cmd.Command

	// Config provides the appkit's default configuration.
	Config *support.Config

	// EmbedFS provides the embedded file system for configs, db, views and web build folders.
	EmbedFS embed.FS

	// Logger provides the structured logging functionality.
	Logger *support.Logger

	// Server provides the HTTP requests handling functionality.
	Server *pack.Server
}

App is the framework core that drives the application.

func NewApp

func NewApp(embedFS embed.FS) (*App, error)

NewApp initializes an app instance.

func (*App) Start

func (a *App) Start() error

Start starts running the app instance.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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