hooks

package
v0.0.0-...-900be4e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HooksService

type HooksService struct {
	// contains filtered or unexported fields
}

func (*HooksService) AddIndexDataHook

func (srv *HooksService) AddIndexDataHook(hook IndexDataHook)

func (*HooksService) AddLoginHook

func (srv *HooksService) AddLoginHook(hook LoginHook)

func (*HooksService) Init

func (srv *HooksService) Init() error

func (*HooksService) RunIndexDataHooks

func (srv *HooksService) RunIndexDataHooks(indexData *dtos.IndexViewData, req *models.ReqContext)

func (*HooksService) RunLoginHook

func (srv *HooksService) RunLoginHook(loginInfo *models.LoginInfo, req *models.ReqContext)

type IndexDataHook

type IndexDataHook func(indexData *dtos.IndexViewData, req *models.ReqContext)

type LoginHook

type LoginHook func(loginInfo *models.LoginInfo, req *models.ReqContext)

Jump to

Keyboard shortcuts

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