events

package
v0.0.0-...-b97e5b3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(options ...Option) (*Handler, error)

func (*Handler) Receive

func (h *Handler) Receive(ctx context.Context) error

type Karma

type Karma struct {
	UserID string
	Change int64
}

type Option

type Option func(*Handler) error

func WithRedis

func WithRedis(client *redis.Client) Option

func WithSocket

func WithSocket(client *socketmode.Client) Option

Jump to

Keyboard shortcuts

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