advancedprotection

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvancedProtectionManagerCallbackClient

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

AdvancedProtectionManagerCallbackClient wraps the gRPC AdvancedProtectionManagerCallbackService client.

func NewAdvancedProtectionManagerCallbackClient

func NewAdvancedProtectionManagerCallbackClient(cc grpc.ClientConnInterface) *AdvancedProtectionManagerCallbackClient

NewAdvancedProtectionManagerCallbackClient creates a new AdvancedProtectionManagerCallback client.

func (*AdvancedProtectionManagerCallbackClient) OnAdvancedProtectionChanged

func (c *AdvancedProtectionManagerCallbackClient) OnAdvancedProtectionChanged(ctx context.Context, arg0 bool) error

OnAdvancedProtectionChanged calls the OnAdvancedProtectionChanged RPC.

type AdvancedProtectionManagerClient

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

AdvancedProtectionManagerClient wraps the gRPC AdvancedProtectionManagerService client.

func NewAdvancedProtectionManagerClient

func NewAdvancedProtectionManagerClient(cc grpc.ClientConnInterface) *AdvancedProtectionManagerClient

NewAdvancedProtectionManagerClient creates a new AdvancedProtectionManager client.

func (*AdvancedProtectionManagerClient) IsAdvancedProtectionEnabled

func (c *AdvancedProtectionManagerClient) IsAdvancedProtectionEnabled(ctx context.Context) (bool, error)

IsAdvancedProtectionEnabled calls the IsAdvancedProtectionEnabled RPC.

func (*AdvancedProtectionManagerClient) RegisterAdvancedProtectionCallback

func (c *AdvancedProtectionManagerClient) RegisterAdvancedProtectionCallback(ctx context.Context, arg0 int64, arg1 int64) error

RegisterAdvancedProtectionCallback calls the RegisterAdvancedProtectionCallback RPC.

func (*AdvancedProtectionManagerClient) UnregisterAdvancedProtectionCallback

func (c *AdvancedProtectionManagerClient) UnregisterAdvancedProtectionCallback(ctx context.Context, arg0 int64) error

UnregisterAdvancedProtectionCallback calls the UnregisterAdvancedProtectionCallback RPC.

Jump to

Keyboard shortcuts

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