hook

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	hookapi.UnimplementedHookServer
	// contains filtered or unexported fields
}

Service is a service that implements the HookServer interface.

func NewHookService

func NewHookService(alarmHook *biz.AlarmHookBiz) *Service

NewHookService creates a new Service.

func (*Service) CreateHook

CreateHook creates a new hook.

func (*Service) DeleteHook

DeleteHook deletes an existing hook.

func (*Service) GetHook

GetHook gets an existing hook.

func (*Service) ListHook

ListHook lists all hooks.

func (*Service) ListHookSelectList

func (s *Service) ListHookSelectList(ctx context.Context, req *hookapi.ListHookRequest) (*hookapi.ListHookSelectListReply, error)

ListHookSelectList 获取hook下拉列表

func (*Service) UpdateHook

UpdateHook updates an existing hook.

func (*Service) UpdateHookStatus

UpdateHookStatus updates the status of an existing hook.

Jump to

Keyboard shortcuts

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