Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Hook ¶ added in v0.1.1
type Hook func(core.App, core.ConfLoader) error
Hook can be used with to further customise an app instance.
type Option ¶
type Option func(app *forgedApp) error
Option values can be used to customise the forging process.
func WithConfLoader ¶ added in v0.1.1
func WithConfLoader(cnfL core.ConfLoader) Option
WithConfLoader sets a custom core.ConfLoader implementation.
func WithPostHook ¶ added in v0.1.1
WithPostHook will set a hook that will be invoked when the app is fully initialised. This hook can be used to set up custom routes, etc.
func WithUserRegistry ¶ added in v0.1.1
func WithUserRegistry(reg core.UserRegistry) Option
WithUserRegistry sets a custom user registry to be used.
Click to show internal directories.
Click to hide internal directories.