signals

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContentAddIndexing    signaling.Signal = "enjin-add-page-indexing"
	ContentRemoveIndexing signaling.Signal = "enjin-remove-page-indexing"
)
View Source
const (
	PreNewEnjin          signaling.Signal = "pre-new-enjin"
	PostNewEnjin         signaling.Signal = "post-new-enjin"
	PreNewEnjinIncluded  signaling.Signal = "pre-new-enjin-included"
	PostNewEnjinIncluded signaling.Signal = "post-new-enjin-included"

	RootEnjinSetup      signaling.Signal = "root-enjin-setup"
	RootEnjinStarting   signaling.Signal = "root-enjin-starting"
	RootEnjinShutdown   signaling.Signal = "root-enjin-shutdown"
	RootEnjinPreReload  signaling.Signal = "root-enjin-pre-reload"
	RootEnjinPostReload signaling.Signal = "root-enjin-post-reload"

	PreEnjinSetupRouter  signaling.Signal = "pre-enjin-setup-router"
	PostEnjinSetupRouter signaling.Signal = "post-enjin-setup-router"

	PreInitConsoleFeatures   signaling.Signal = "pre-init-console-features"
	PostInitConsoleFeatures  signaling.Signal = "post-init-console-features"
	PreEnjinIntegrityChecks  signaling.Signal = "pre-enjin-integrity-checks"
	PostEnjinIntegrityChecks signaling.Signal = "post-enjin-integrity-checks"

	PreEnjinReloadLocales  signaling.Signal = "pre-enjin-reload-locales"
	PostEnjinReloadLocales signaling.Signal = "post-enjin-reload-locales"

	PreHotReloadFeatures  signaling.Signal = "pre-hot-reload-features"
	PostHotReloadFeatures signaling.Signal = "post-hot-reload-features"

	PreBuildFeaturesPhase     signaling.Signal = "pre-enjin-build-features-phase"
	PostBuildFeaturesPhase    signaling.Signal = "post-enjin-build-features-phase"
	PreSetupFeaturesPhase     signaling.Signal = "pre-enjin-setup-features-phase"
	PostSetupFeaturesPhase    signaling.Signal = "post-enjin-setup-features-phase"
	PreStartupFeaturesPhase   signaling.Signal = "pre-enjin-startup-features-phase"
	PostStartupFeaturesPhase  signaling.Signal = "post-enjin-startup-features-phase"
	PreShutdownFeaturesPhase  signaling.Signal = "pre-enjin-shutdown-features-phase"
	PostShutdownFeaturesPhase signaling.Signal = "post-enjin-shutdown-features-phase"

	ServedHttpRedirect signaling.Signal = "served-http-redirect"
	ServedHtmlRedirect signaling.Signal = "served-meta-redirect"

	Served204      signaling.Signal = "served-204"
	Served400      signaling.Signal = "served-400"
	Served401      signaling.Signal = "served-401"
	ServedBasic401 signaling.Signal = "served-basic-401"
	Served403      signaling.Signal = "served-403"
	Served404      signaling.Signal = "served-404"
	Served405      signaling.Signal = "served-405"
	Served500      signaling.Signal = "served-500"

	PreServeStatusPage  signaling.Signal = "pre-serve-status-page"
	PostServeStatusPage signaling.Signal = "post-serve-status-page"
	ServedPath          signaling.Signal = "served-path"
	ServedPathPage      signaling.Signal = "served-path-page"
	PreServePage        signaling.Signal = "pre-serve-page"
	PostServePage       signaling.Signal = "post-serve-page"
	PreServeData        signaling.Signal = "pre-serve-data"
	PostServeData       signaling.Signal = "post-serve-data"

	EnjinPanicRecovery          signaling.Signal = "enjin-panic-recovery"
	EnjinSecondaryPanicRecovery signaling.Signal = "enjin-secondary-panic-recovery"
)
View Source
const (
	PreCreateUser    signaling.Signal = "pre-create-user"
	PostCreateUser   signaling.Signal = "post-create-user"
	PreSignUpUser    signaling.Signal = "pre-sign-up-user"
	PostSignUpUser   signaling.Signal = "post-sign-up-user"
	PreRetrieveUser  signaling.Signal = "pre-retrieve-user"
	PostRetrieveUser signaling.Signal = "post-retrieve-user"
	PreDeleteUser    signaling.Signal = "pre-delete-user"
	PostDeleteUser   signaling.Signal = "post-delete-user"

	PreUpdateUserName     signaling.Signal = "pre-update-user-name"
	PostUpdateUserName    signaling.Signal = "post-update-user-name"
	PreUpdateUserImage    signaling.Signal = "pre-update-user-image"
	PostUpdateUserImage   signaling.Signal = "post-update-user-image"
	PreUpdateUserContext  signaling.Signal = "pre-update-user-context"
	PostUpdateUserContext signaling.Signal = "post-update-user-context"

	PreSetUserName      signaling.Signal = "pre-set-user-name"
	PostSetUserName     signaling.Signal = "post-set-user-name"
	PreSetUserImage     signaling.Signal = "pre-set-user-image"
	PostSetUserImage    signaling.Signal = "post-set-user-image"
	PreSetUserContext   signaling.Signal = "pre-set-user-context"
	PostSetUserContext  signaling.Signal = "post-set-user-context"
	PreSetUserSetting   signaling.Signal = "pre-set-user-setting"
	PostSetUserSetting  signaling.Signal = "post-set-user-setting"
	PreSetUserSettings  signaling.Signal = "pre-set-user-settings"
	PostSetUserSettings signaling.Signal = "post-set-user-settings"

	PreUpdateUserActive       signaling.Signal = "pre-update-user-active"
	PostUpdateUserActive      signaling.Signal = "post-update-user-active"
	PreUpdateUserAdminLocked  signaling.Signal = "pre-update-user-admin-locked"
	PostUpdateUserAdminLocked signaling.Signal = "post-update-user-admin-locked"

	PreUpdateUserGroups       signaling.Signal = "pre-update-user-groups"
	PostUpdateUserGroups      signaling.Signal = "post-update-user-groups"
	PreUpdateUserPermissions  signaling.Signal = "pre-update-user-permissions"
	PostUpdateUserPermissions signaling.Signal = "post-update-user-permissions"

	PreSetUserActive       signaling.Signal = "pre-set-user-active"
	PostSetUserActive      signaling.Signal = "post-set-user-active"
	PreSetUserAdminLocked  signaling.Signal = "pre-set-user-admin-locked"
	PostSetUserAdminLocked signaling.Signal = "post-set-user-admin-locked"

	PreSetUserGroups       signaling.Signal = "pre-set-user-groups"
	PostSetUserGroups      signaling.Signal = "post-set-user-groups"
	PreSetUserPermissions  signaling.Signal = "pre-set-user-permissions"
	PostSetUserPermissions signaling.Signal = "post-set-user-permissions"

	PreSetGroupPermissions  signaling.Signal = "pre-set-group-permissions"
	PostSetGroupPermissions signaling.Signal = "post-set-group-permissions"

	PreCreateGroup    signaling.Signal = "pre-create-group"
	PostCreateGroup   signaling.Signal = "post-create-group"
	PreRetrieveGroup  signaling.Signal = "pre-retrieve-group"
	PostRetrieveGroup signaling.Signal = "post-retrieve-group"
	PreUpdateGroup    signaling.Signal = "pre-update-group"
	PostUpdateGroup   signaling.Signal = "post-update-group"
	PreDeleteGroup    signaling.Signal = "pre-delete-group"
	PostDeleteGroup   signaling.Signal = "post-delete-group"
)

Variables

This section is empty.

Functions

func UnpackContentIndexing added in v0.5.11

func UnpackContentIndexing(argv []interface{}) (filePath string, theme feature.Theme, stub *feature.PageStub, p feature.Page, ok bool)

UnpackContentIndexing is a signal listener helper for extracting the typed arguments passed to the signal handler func

func UnpackEnjinPanicRecovery

func UnpackEnjinPanicRecovery(argv []interface{}) (w http.ResponseWriter, r *http.Request, err error, ok bool)

func UnpackEnjinSecondaryPanicRecovery

func UnpackEnjinSecondaryPanicRecovery(argv []interface{}) (w http.ResponseWriter, r *http.Request, err, ee error, ok bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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