Documentation
¶
Index ¶
- Variables
- func ProvideEventBus(options ...EventBusOption) (*message.Router, error)
- func ProvideHttpServer(web *web.Web, api *api.Api, ws *ws.WebSocket, config *Config) *chi.Mux
- func ProvideHttpTestServer(web *web.Web, api *api.Api, ws *ws.WebSocket, ...) *chi.Mux
- type Application
- type Config
- type EventBusOption
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSet = wire.NewSet( web.DefaultSet, api.DefaultSet, ws.DefaultSet, subscriber.DefaultSet, ProvideEventBus, ProvideEventSubscribers, ProvideHttpServer, NewConfig, New, )
View Source
var TestSet = wire.NewSet( web.DefaultSet, api.DefaultSet, ws.DefaultSet, testability.DefaultSet, subscriber.DefaultSet, ProvideEventBus, ProvideEventSubscribers, ProvideHttpTestServer, NewConfig, New, )
Functions ¶
func ProvideEventBus ¶
func ProvideEventBus(options ...EventBusOption) (*message.Router, error)
func ProvideHttpServer ¶
func ProvideHttpTestServer ¶
func ProvideHttpTestServer( web *web.Web, api *api.Api, ws *ws.WebSocket, testability *testability.Testability, config *Config, ) *chi.Mux
Types ¶
type Application ¶
func (*Application) Serve ¶
func (app *Application) Serve() error
type EventBusOption ¶
func ProvideEventSubscribers ¶
func ProvideEventSubscribers( database *db.Database, databaseSubscribers []subscriber.DatabaseSubscriber, ) []EventBusOption
Click to show internal directories.
Click to hide internal directories.