blockedlists

package
v0.0.0-...-8aa1adc Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PopulateSharedBlockedList

func PopulateSharedBlockedList(list *commentapi.SharedBlockedList, modelList *model.BlockedList) error

PopulateSharedBlockedList populates the information from a blocked list into a an api response format

Types

type Service

type Service struct{}

Service is the service struct defined for the comment package for rpc service "blockedlist.*"

func (Service) Accept

Accept accepts the invite and merges the users blocked entries into the shared blocked list.

func (Service) Get

Get accepts the invite and merges the users blocked entries into the shared blocked list.

func (Service) Invite

Invite invites a user to contribute to a shared blocked list.

func (Service) ListInvites

ListInvites returns a list of all invites a user has been sent for acceptance or rejection.

func (Service) Rescind

Rescind removes the association if already accepted of the invite and deletes it.

func (Service) Update

Update updates a users shared block list, and returns it adjusted

Jump to

Keyboard shortcuts

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