blocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FriendshipRemover

type FriendshipRemover interface {
	RemoveFriendship(ctx context.Context, accountA, accountB uuid.UUID) error
}

FriendshipRemover is implemented by friends.Handler.

type Handler

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

func NewHandler

func NewHandler(db *bun.DB, friends FriendshipRemover) *Handler

func (*Handler) BlockUser

func (h *Handler) BlockUser(c *gin.Context)

func (*Handler) ListBlocked

func (h *Handler) ListBlocked(c *gin.Context)

func (*Handler) UnblockUser

func (h *Handler) UnblockUser(c *gin.Context)

Jump to

Keyboard shortcuts

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