Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppGraph = loom.Graph[*App]( loom.Provide(NewConfig), loom.Provide(NewDB), loom.Provide(NewCache), loom.Provide(NewServer), loom.Provide(NewApp), )
AppGraph wires the application.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Server *Server
}
App is the assembled application.
type Cache ¶
type Cache struct {
Closed bool
}
Cache is a resource released by a plain func() cleanup.
Click to show internal directories.
Click to hide internal directories.