Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(name string, constructor NewJourneyFunc, defaultConfig interface{})
func Registered ¶
func Registered() []string
Types ¶
type Journey ¶
type Journey struct { Constructor NewJourneyFunc DefaultConfig interface{} }
type NewJourneyFunc ¶
type NewJourneyFunc func(config.CommonJourney) (http.Handler, error)
type Registry ¶
func NewRegistry ¶
func NewRegistry() *Registry
func (*Registry) Register ¶
func (r *Registry) Register(name string, constructor NewJourneyFunc, defaultConfig interface{})
func (*Registry) Registered ¶
Click to show internal directories.
Click to hide internal directories.