userd_grpc

package
v2.4.7-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCService

func NewGRPCService(
	callbacks Callbacks,
	sharedState *sharedstate.State,
) rpc.ConnectorServer

func NewManagerProxy added in v2.4.5

func NewManagerProxy(client managerrpc.ManagerClient, callOptions ...grpc.CallOption) managerrpc.ManagerServer

NewManagerProxy returns a rpc.ManagerServer that just proxies all requests through the given rpc.ManagerClient.

Types

type Callbacks

type Callbacks struct {
	InterceptStatus func() *rpc.InterceptResult
	Cancel          func()
	Connect         func(c context.Context, cr *rpc.ConnectRequest, dryRun bool) *rpc.ConnectInfo
}

Jump to

Keyboard shortcuts

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