vpn

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 ServiceBuilderClient

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

ServiceBuilderClient wraps the gRPC ServiceBuilderService client.

func NewServiceBuilderClient

func NewServiceBuilderClient(cc grpc.ClientConnInterface) *ServiceBuilderClient

NewServiceBuilderClient creates a new ServiceBuilder client.

func (*ServiceBuilderClient) AddAddress2

func (c *ServiceBuilderClient) AddAddress2(ctx context.Context, arg0 string, arg1 int32) (int64, error)

AddAddress2 calls the AddAddress2 RPC.

func (*ServiceBuilderClient) AddAddress2_1

func (c *ServiceBuilderClient) AddAddress2_1(ctx context.Context, arg0 int64, arg1 int32) (int64, error)

AddAddress2_1 calls the AddAddress2_1 RPC.

func (*ServiceBuilderClient) AddAllowedApplication

func (c *ServiceBuilderClient) AddAllowedApplication(ctx context.Context, arg0 string) (int64, error)

AddAllowedApplication calls the AddAllowedApplication RPC.

func (*ServiceBuilderClient) AddDisallowedApplication

func (c *ServiceBuilderClient) AddDisallowedApplication(ctx context.Context, arg0 string) (int64, error)

AddDisallowedApplication calls the AddDisallowedApplication RPC.

func (*ServiceBuilderClient) AddDnsServer1

func (c *ServiceBuilderClient) AddDnsServer1(ctx context.Context, arg0 string) (int64, error)

AddDnsServer1 calls the AddDnsServer1 RPC.

func (*ServiceBuilderClient) AddDnsServer1_1

func (c *ServiceBuilderClient) AddDnsServer1_1(ctx context.Context, arg0 int64) (int64, error)

AddDnsServer1_1 calls the AddDnsServer1_1 RPC.

func (*ServiceBuilderClient) AddRoute1

func (c *ServiceBuilderClient) AddRoute1(ctx context.Context, arg0 int64) (int64, error)

AddRoute1 calls the AddRoute1 RPC.

func (*ServiceBuilderClient) AddRoute2_1

func (c *ServiceBuilderClient) AddRoute2_1(ctx context.Context, arg0 string, arg1 int32) (int64, error)

AddRoute2_1 calls the AddRoute2_1 RPC.

func (*ServiceBuilderClient) AddRoute2_2

func (c *ServiceBuilderClient) AddRoute2_2(ctx context.Context, arg0 int64, arg1 int32) (int64, error)

AddRoute2_2 calls the AddRoute2_2 RPC.

func (*ServiceBuilderClient) AddSearchDomain

func (c *ServiceBuilderClient) AddSearchDomain(ctx context.Context, arg0 string) (int64, error)

AddSearchDomain calls the AddSearchDomain RPC.

func (*ServiceBuilderClient) AllowBypass

func (c *ServiceBuilderClient) AllowBypass(ctx context.Context) (int64, error)

AllowBypass calls the AllowBypass RPC.

func (*ServiceBuilderClient) AllowFamily

func (c *ServiceBuilderClient) AllowFamily(ctx context.Context, arg0 int32) (int64, error)

AllowFamily calls the AllowFamily RPC.

func (*ServiceBuilderClient) Establish

func (c *ServiceBuilderClient) Establish(ctx context.Context) (int64, error)

Establish calls the Establish RPC.

func (*ServiceBuilderClient) ExcludeRoute

func (c *ServiceBuilderClient) ExcludeRoute(ctx context.Context, arg0 int64) (int64, error)

ExcludeRoute calls the ExcludeRoute RPC.

func (*ServiceBuilderClient) SetBlocking

func (c *ServiceBuilderClient) SetBlocking(ctx context.Context, arg0 bool) (int64, error)

SetBlocking calls the SetBlocking RPC.

func (*ServiceBuilderClient) SetConfigureIntent

func (c *ServiceBuilderClient) SetConfigureIntent(ctx context.Context, arg0 int64) (int64, error)

SetConfigureIntent calls the SetConfigureIntent RPC.

func (*ServiceBuilderClient) SetHttpProxy

func (c *ServiceBuilderClient) SetHttpProxy(ctx context.Context, arg0 int64) (int64, error)

SetHttpProxy calls the SetHttpProxy RPC.

func (*ServiceBuilderClient) SetMetered

func (c *ServiceBuilderClient) SetMetered(ctx context.Context, arg0 bool) (int64, error)

SetMetered calls the SetMetered RPC.

func (*ServiceBuilderClient) SetMtu

func (c *ServiceBuilderClient) SetMtu(ctx context.Context, arg0 int32) (int64, error)

SetMtu calls the SetMtu RPC.

func (*ServiceBuilderClient) SetSession

func (c *ServiceBuilderClient) SetSession(ctx context.Context, arg0 string) (int64, error)

SetSession calls the SetSession RPC.

func (*ServiceBuilderClient) SetUnderlyingNetworks

func (c *ServiceBuilderClient) SetUnderlyingNetworks(ctx context.Context, arg0 int64) (int64, error)

SetUnderlyingNetworks calls the SetUnderlyingNetworks RPC.

type ServiceClient

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

ServiceClient wraps the gRPC ServiceService client.

func NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) *ServiceClient

NewServiceClient creates a new Service client.

func (*ServiceClient) IsAlwaysOn

func (c *ServiceClient) IsAlwaysOn(ctx context.Context, handle int64) (bool, error)

IsAlwaysOn calls the IsAlwaysOn RPC.

func (*ServiceClient) IsLockdownEnabled

func (c *ServiceClient) IsLockdownEnabled(ctx context.Context, handle int64) (bool, error)

IsLockdownEnabled calls the IsLockdownEnabled RPC.

func (*ServiceClient) OnBind

func (c *ServiceClient) OnBind(ctx context.Context, handle int64, arg0 int64) (int64, error)

OnBind calls the OnBind RPC.

func (*ServiceClient) OnRevoke

func (c *ServiceClient) OnRevoke(ctx context.Context, handle int64) error

OnRevoke calls the OnRevoke RPC.

func (*ServiceClient) Prepare

func (c *ServiceClient) Prepare(ctx context.Context, handle int64, arg0 int64) (int64, error)

Prepare calls the Prepare RPC.

func (*ServiceClient) Protect1

func (c *ServiceClient) Protect1(ctx context.Context, handle int64, arg0 int32) (bool, error)

Protect1 calls the Protect1 RPC.

func (*ServiceClient) Protect1_1

func (c *ServiceClient) Protect1_1(ctx context.Context, handle int64, arg0 int64) (bool, error)

Protect1_1 calls the Protect1_1 RPC.

func (*ServiceClient) Protect1_2

func (c *ServiceClient) Protect1_2(ctx context.Context, handle int64, arg0 int64) (bool, error)

Protect1_2 calls the Protect1_2 RPC.

func (*ServiceClient) SetUnderlyingNetworks

func (c *ServiceClient) SetUnderlyingNetworks(ctx context.Context, handle int64, arg0 int64) (bool, error)

SetUnderlyingNetworks calls the SetUnderlyingNetworks RPC.

Jump to

Keyboard shortcuts

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