Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScopedRouterConsumer ¶
type ScopedRouterConsumer struct {
// contains filtered or unexported fields
}
func (*ScopedRouterConsumer) GetHandler ¶
func (s *ScopedRouterConsumer) GetHandler(ctx context.Context) (context.Context, views.Handler, error)
GetHandler lazy initialize an 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 views.Handler)
PresetHandler sets a ready to use views.Handler
Click to show internal directories.
Click to hide internal directories.