Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module( "handlers", fx.Decorate(func(log *zap.Logger) *zap.Logger { return log.Named("handlers") }), fx.Provide( http.AsRootHandler(newRootHandler), http.AsApiHandler(newThirdPartyHandler), http.AsApiHandler(newMobileHandler), http.AsApiHandler(newUpstreamHandler), ), fx.Provide( newHealthHandler, webhooks.NewThirdPartyController, webhooks.NewMobileController, fx.Private, ), )
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.7.0
type Config struct {
GatewayMode GatewayMode
}
type GatewayMode ¶ added in v1.7.0
type GatewayMode string
const ( GatewayModePrivate GatewayMode = "private" GatewayModePublic GatewayMode = "public" )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.