weeon

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

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 8 Imported by: 0

README

weeon

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, cfg *Config) contract.App

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func (*App) Env

func (a *App) Env() string

@todo

func (*App) Run

func (a *App) Run() error

func (*App) Service

func (a *App) Service() string

func (*App) Shutdown

func (a *App) Shutdown(ctx context.Context) error

type Config

type Config struct {
	Service    string
	HTTPRouter func(r *gin.Engine)
}

Directories

Path Synopsis
facade
app
internal
app
log

Jump to

Keyboard shortcuts

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