antispam

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIntegration

func NewIntegration(accounts account.Store) ocp_antispam.Integration

Types

type Integration

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

func (*Integration) AllowDistribution

func (i *Integration) AllowDistribution(ctx context.Context, owner *ocp_common.Account, isPublic bool) (bool, string, error)

func (*Integration) AllowOpenAccounts

func (*Integration) AllowReceivePayments

func (i *Integration) AllowReceivePayments(ctx context.Context, owner *ocp_common.Account, isPublic bool) (bool, string, error)

func (*Integration) AllowSendPayment

func (i *Integration) AllowSendPayment(_ context.Context, _, _ *ocp_common.Account, isPublic bool) (bool, string, error)

func (*Integration) AllowSwap

func (i *Integration) AllowSwap(_ context.Context, _ swap.FundingSource, _, _, _ *ocp_common.Account) (bool, string, error)

func (*Integration) AllowWelcomeBonus

func (i *Integration) AllowWelcomeBonus(ctx context.Context, owner *ocp_common.Account) (bool, string, error)

Jump to

Keyboard shortcuts

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