rpcclient

package
v0.2.97 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChCloser added in v0.2.93

func ChCloser[C ~chan T, T any](chs ...C) err2.Handler

ChCloser return error handler that closes all given channels.

func DoEnter

func DoEnter(
	conn *grpc.ClientConn,
	ctx context.Context,
	cmd *authn.Cmd,
) (
	ch chan *authn.CmdStatus,
	err error,
)

func DoEnterSecret

func DoEnterSecret(
	conn *grpc.ClientConn,
	smsg *authn.SecretMsg,
) (
	res *authn.SecretResult,
	err error,
)

func New

func New(cert, addr string, port int) (conn *grpc.ClientConn, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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