Documentation ¶
Index ¶
- func BlacklistIP(ctx context.Context, ip string) error
- func BlacklistSender(ctx context.Context, sender string) error
- func BlacklistedIPs(ctx context.Context) ([]string, error)
- func BlacklistedSenders(ctx context.Context) ([]string, error)
- func IsIPBlacklisted(ctx context.Context, ip string) bool
- func IsIPWhitelisted(ctx context.Context, ip string) bool
- func IsSenderBlacklisted(ctx context.Context, sender string) bool
- func IsSenderWhitelisted(ctx context.Context, sender string) bool
- func UnBlacklistIP(ctx context.Context, ip string) error
- func UnBlacklistSender(ctx context.Context, sender string) error
- func UnWhitelistIP(ctx context.Context, ip string) error
- func UnWhitelistSender(ctx context.Context, sender string) error
- func WhitelistIP(ctx context.Context, ip string) error
- func WhitelistSender(ctx context.Context, sender string) error
- func WhitelistedIPs(ctx context.Context) ([]string, error)
- func WhitelistedSenders(ctx context.Context) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.