Documentation ¶
Index ¶
- type Hooks
- func (h *Hooks) DatabaseAfterConnect(ctx context.Context, client driver.Client, name string)
- func (h *Hooks) GetGroups(ctx context.Context, username string) ([]string, error)
- func (h *Hooks) IngestionFilter(ctx context.Context, index *index.Index) (string, error)
- func (h *Hooks) TicketReadFilter(ctx context.Context) (string, map[string]any, error)
- func (h *Hooks) TicketWriteFilter(ctx context.Context) (string, map[string]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hooks ¶
type Hooks struct { DatabaseAfterConnectFuncs []func(ctx context.Context, client driver.Client, name string) IngestionFilterFunc func(ctx context.Context, index *index.Index) (string, error) TicketReadFilterFunc func(ctx context.Context) (string, map[string]any, error) TicketWriteFilterFunc func(ctx context.Context) (string, map[string]any, error) GetGroupsFunc func(ctx context.Context, username string) ([]string, error) }
func (*Hooks) DatabaseAfterConnect ¶
func (*Hooks) IngestionFilter ¶
func (*Hooks) TicketReadFilter ¶
Click to show internal directories.
Click to hide internal directories.