event

package
v0.0.0-...-cbea63e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserEvent

type UserEvent struct {
	Action                string   `json:"action,omitempty"`
	FirstName             string   `json:"firstName,omitempty"`
	LastName              string   `json:"lastName,omitempty"`
	AlternateNames        []string `json:"alternateNames,omitempty"`
	CreatedAt             string   `json:"createdAt,omitempty"`
	FullName              string   `json:"fullName,omitempty"`
	Roles                 []string `json:"roles,omitempty"`
	Username              string   `json:"username,omitempty"`
	AccountExpirationDate string   `json:"accountExpirationDate,omitempty"`
	Status                string   `json:"status,omitempty"`
	LastLoginAt           string   `json:"lastLoginAt,omitempty"`
}

func NewUserCreateEvent

func NewUserCreateEvent(e *UserEvent) *UserEvent

func NewUserDeleteEvent

func NewUserDeleteEvent(e *UserEvent) *UserEvent

func NewUserUpdateEvent

func NewUserUpdateEvent(e *UserEvent) *UserEvent

func (*UserEvent) Publish

func (e *UserEvent) Publish()

Jump to

Keyboard shortcuts

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