tools

package
v3.0.4+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL