tadpole

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Prefix = "TADPOLE_"
)
View Source
const (
	UserCreated = Prefix + "USER_CREATED"
)
View Source
const (
	UserPurged = Prefix + "USER_PURGED"
)

Variables

This section is empty.

Functions

func NewUserCreatedEvent

func NewUserCreatedEvent(userID string) (event.Event, error)

func NewUserPurgedEvent

func NewUserPurgedEvent(userID string) (event.Event, error)

Types

type UserCreatedPayload

type UserCreatedPayload struct {
	UserID string `json:"user_id"`
}

type UserPurgedPayload

type UserPurgedPayload struct {
	UserID string `json:"user_id"`
}

Jump to

Keyboard shortcuts

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