Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module( "component.nexusoperations.frontend", fx.Provide(ConfigProvider), fx.Provide(commonnexus.NewCallbackTokenGenerator), fx.Invoke(RegisterHTTPHandler), )
Functions ¶
func RegisterHTTPHandler ¶
func RegisterHTTPHandler(options HandlerOptions, logger log.Logger, router *mux.Router)
Types ¶
type Config ¶
type Config struct {
Enabled dynamicconfig.BoolPropertyFn
}
func ConfigProvider ¶
func ConfigProvider(coll *dynamicconfig.Collection) *Config
type HandlerOptions ¶
type HandlerOptions struct { fx.In NamespaceRegistry namespace.Registry Logger log.Logger MetricsHandler metrics.Handler Config *Config CallbackTokenGenerator *commonnexus.CallbackTokenGenerator HistoryClient resource.HistoryClient NamespaceValidationInterceptor *interceptor.NamespaceValidatorInterceptor NamespaceRateLimitInterceptor *interceptor.NamespaceRateLimitInterceptor NamespaceConcurrencyLimitInterceptor *interceptor.ConcurrentRequestLimitInterceptor RateLimitInterceptor *interceptor.RateLimitInterceptor AuthInterceptor *authorization.Interceptor }
Click to show internal directories.
Click to hide internal directories.