Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ReadTimeout time.Duration ReadHeaderTimeout time.Duration WriteTimeout time.Duration IdleTimeout time.Duration MaxHeaderBytes int )
View Source
var (
Diagnostics diagnostics.DiagnosticsI
)
Functions ¶
func NewRsourcesService ¶ added in v0.1.11
func NewRsourcesService(deploymentType deployment.Type) (rsources.JobService, error)
NewRsourcesService produces a rsources.JobService through environment configuration (env variables & config file)
Types ¶
type AppHandler ¶
type AppHandler interface { GetAppType() string HandleRecovery(*app.Options) StartRudderCore(context.Context, *app.Options) error }
AppHandler to be implemented by different app type objects.
func GetAppHandler ¶
func GetAppHandler(application app.App, appType string, versionHandler func(w http.ResponseWriter, r *http.Request)) AppHandler
type EmbeddedApp ¶
EmbeddedApp is the type for embedded type implementation
func (*EmbeddedApp) GetAppType ¶
func (*EmbeddedApp) GetAppType() string
func (*EmbeddedApp) HandleRecovery ¶
func (*EmbeddedApp) HandleRecovery(options *app.Options)
func (*EmbeddedApp) StartRudderCore ¶
type GatewayApp ¶
GatewayApp is the type for Gateway type implementation
func (*GatewayApp) GetAppType ¶
func (*GatewayApp) GetAppType() string
func (*GatewayApp) HandleRecovery ¶
func (*GatewayApp) HandleRecovery(options *app.Options)
func (*GatewayApp) StartRudderCore ¶
type ProcessorApp ¶
type ProcessorApp struct { App app.App VersionHandler func(w http.ResponseWriter, r *http.Request) }
ProcessorApp is the type for Processor type implemention
func (*ProcessorApp) GetAppType ¶
func (*ProcessorApp) GetAppType() string
func (*ProcessorApp) HandleRecovery ¶
func (*ProcessorApp) HandleRecovery(options *app.Options)
func (*ProcessorApp) StartRudderCore ¶
Click to show internal directories.
Click to hide internal directories.