cmd

package
v0.0.0-...-71f12ce Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(
	wire.Struct(new(Options), "*"),
	NewJwt,
	NewApp,
)

Functions

func NewJwt

func NewJwt(conf *configs.Config) (*jwt.JWT, error)

Types

type App

type App struct {
	Options
}

func NewApp

func NewApp(opt Options) *App

func (*App) Run

func (a *App) Run() error

type Options

type Options struct {
	Config *configs.Config
	Http   *routes.HttpEngine
	Cron   *crontab.Client
}

Jump to

Keyboard shortcuts

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