Documentation ¶
Overview ¶
Package hooks is middleware to alter the graphql mutation
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInternalServerError is returned when an internal error occurs. ErrInternalServerError = errors.New("internal server error") )
Functions ¶
func HookGroupAuthz ¶
HookGroupAuthz runs on group mutations to setup or remove relationship tuples
func HookOrganization ¶
HookOrganization runs on org mutations to set default values that are not provided
func HookOrganizationAuthz ¶
HookOrganizationAuthz runs on organization mutations to setup or remove relationship tuples
func HookPersonalAccessToken ¶
HookPersonalAccessToken runs on accesstoken mutations and sets expires
func HookSession ¶
HookSession runs on refresh token creation and sets expires fields
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.