Documentation
¶
Index ¶
- type RedirectComponent
- func (c *RedirectComponent) Close() error
- func (c *RedirectComponent) DoGetAuthorisationMiddlewareOk(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, error)
- func (c *RedirectComponent) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
- func (c *RedirectComponent) DoGetHealthcheckOk(cfg *config.Config, _, _, _ 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
AuthorisationMiddleware authorisation.Middleware
// contains filtered or unexported fields
}
func NewRedirectComponent ¶ added in v0.3.0
func NewRedirectComponent(redisFeat *componentTest.RedisFeature, authFeat *componentTest.AuthorizationFeature) (*RedirectComponent, error)
func (*RedirectComponent) Close ¶ added in v0.3.0
func (c *RedirectComponent) Close() error
func (*RedirectComponent) DoGetAuthorisationMiddlewareOk ¶ added in v0.3.2
func (c *RedirectComponent) DoGetAuthorisationMiddlewareOk(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, 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, _, _, _ 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.