Documentation ¶
Index ¶
- type HooksService
- func (srv *HooksService) AddIndexDataHook(hook IndexDataHook)
- func (srv *HooksService) AddLoginHook(hook LoginHook)
- func (srv *HooksService) RunIndexDataHooks(indexData *dtos.IndexViewData, req *contextmodel.ReqContext)
- func (srv *HooksService) RunLoginHook(loginInfo *login.LoginInfo, req *contextmodel.ReqContext)
- type IndexDataHook
- type LoginHook
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 ProvideService ¶
func ProvideService() *HooksService
func (*HooksService) AddIndexDataHook ¶
func (srv *HooksService) AddIndexDataHook(hook IndexDataHook)
func (*HooksService) AddLoginHook ¶
func (srv *HooksService) AddLoginHook(hook LoginHook)
func (*HooksService) RunIndexDataHooks ¶
func (srv *HooksService) RunIndexDataHooks(indexData *dtos.IndexViewData, req *contextmodel.ReqContext)
func (*HooksService) RunLoginHook ¶
func (srv *HooksService) RunLoginHook(loginInfo *login.LoginInfo, req *contextmodel.ReqContext)
type IndexDataHook ¶
type IndexDataHook func(indexData *dtos.IndexViewData, req *contextmodel.ReqContext)
type LoginHook ¶
type LoginHook func(loginInfo *login.LoginInfo, req *contextmodel.ReqContext)
Click to show internal directories.
Click to hide internal directories.