eventhandler

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(brokers []string, topic string, source string) (*kafka_sarama.Sender, error)

func SendEvent

func SendEvent(etype string, message proto.Message) error

func SendRoleUpdateEvent

func SendRoleUpdateEvent(role *pb.Role, action pb.RoleUpdateEvent_Action)

func SendUserPermUpdateEvent

func SendUserPermUpdateEvent(user *pb.User, action pb.UserPermissionUpdateEvent_Action)

Types

This section is empty.

Jump to

Keyboard shortcuts

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