fiscaris

package
v0.0.0-...-50214c2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FiscarisAppGraphSet = wire.NewSet(
	InitRouter,
	NewHttpServer,
	NewFiscarisApp,
)
View Source
var InitRouter = wire.NewSet(
	NewRoutes,
	NewRouter,
)

Functions

func NewRouter

func NewRouter(routes []named_route.NamedRoute) (http.Handler, error)

func NewRoutes

func NewRoutes() []named_route.NamedRoute

Types

type FiscarisApp

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

func NewFiscarisApp

func NewFiscarisApp(httpServer *HTTPServer) *FiscarisApp

func (*FiscarisApp) Start

func (self *FiscarisApp) Start(ctx context.Context) error

func (*FiscarisApp) Stop

func (self *FiscarisApp) Stop(ctx context.Context) error

type HTTPServer

type HTTPServer struct {
	*http.Server
}

func NewHttpServer

func NewHttpServer(router http.Handler) (*HTTPServer, error)

Jump to

Keyboard shortcuts

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