antispam

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIntegration

func NewIntegration(accounts account.Store) codeantispam.Integration

Types

type Integration

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

func (*Integration) AllowOpenAccounts

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

func (*Integration) AllowReceivePayments

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

func (*Integration) AllowSendPayment

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

func (*Integration) AllowSwap

func (i *Integration) AllowSwap(ctx context.Context, _ *codecommon.Account) (bool, string, error)

func (*Integration) AllowWelcomeBonus

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳