Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScopedRouterConsumer ¶
type ScopedRouterConsumer struct { common.RuntimeHolder // contains filtered or unexported fields }
func (*ScopedRouterConsumer) GetHandler ¶
func (s *ScopedRouterConsumer) GetHandler(ctx context.Context) (context.Context, nodes.Handler, error)
GetHandler lazy initialize a views.Handler depending on the scope
func (*ScopedRouterConsumer) ParseScope ¶
func (s *ScopedRouterConsumer) ParseScope(owner string, params map[string]string)
ParseScope checks if parameters have scope=owner value
func (*ScopedRouterConsumer) PresetHandler ¶
func (s *ScopedRouterConsumer) PresetHandler(h nodes.Handler)
PresetHandler sets a ready to use views.Handler
Click to show internal directories.
Click to hide internal directories.