Documentation
¶
Index ¶
- type RedirectComponent
- func (c *RedirectComponent) Close() error
- func (c *RedirectComponent) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
- func (c *RedirectComponent) DoGetHealthcheckOk(cfg *config.Config, buildTime, gitCommit, version string) (service.HealthChecker, error)
- func (c *RedirectComponent) DoGetRedisClientOk(ctx context.Context, cfg *config.Config) (store.Redis, error)
- func (c *RedirectComponent) InitAPIFeature() *componenttest.APIFeature
- func (c *RedirectComponent) InitialiseService() (http.Handler, error)
- func (c *RedirectComponent) RegisterSteps(ctx *godog.ScenarioContext)
- func (c *RedirectComponent) Reset() *RedirectComponent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedirectComponent ¶ added in v0.3.0
type RedirectComponent struct {
componenttest.ErrorFeature
Config *config.Config
HTTPServer *http.Server
ServiceRunning bool
StartTime time.Time
// contains filtered or unexported fields
}
func NewRedirectComponent ¶ added in v0.3.0
func NewRedirectComponent(redisFeat *componenttest.RedisFeature) (*RedirectComponent, error)
func (*RedirectComponent) Close ¶ added in v0.3.0
func (c *RedirectComponent) Close() error
func (*RedirectComponent) DoGetHTTPServer ¶ added in v0.3.0
func (c *RedirectComponent) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
func (*RedirectComponent) DoGetHealthcheckOk ¶ added in v0.3.0
func (c *RedirectComponent) DoGetHealthcheckOk(cfg *config.Config, buildTime, gitCommit, version string) (service.HealthChecker, error)
func (*RedirectComponent) DoGetRedisClientOk ¶ added in v0.3.0
func (*RedirectComponent) InitAPIFeature ¶ added in v0.3.0
func (c *RedirectComponent) InitAPIFeature() *componenttest.APIFeature
func (*RedirectComponent) InitialiseService ¶ added in v0.3.0
func (c *RedirectComponent) InitialiseService() (http.Handler, error)
func (*RedirectComponent) RegisterSteps ¶ added in v0.3.0
func (c *RedirectComponent) RegisterSteps(ctx *godog.ScenarioContext)
func (*RedirectComponent) Reset ¶ added in v0.3.0
func (c *RedirectComponent) Reset() *RedirectComponent
Click to show internal directories.
Click to hide internal directories.