transport

package
v1.15.16 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: GPL-3.0 Imports: 26 Imported by: 5

README

Transport

Contains the server-side code for talking to the "client," which is either the server itself or a remote client binary.

Documentation

Index

Constants

View Source
const (

	// ServerMaxMessageSize - Server-side max GRPC message size
	ServerMaxMessageSize = 2 * gb
)

Variables

This section is empty.

Functions

func ClearTokenCache added in v1.5.0

func ClearTokenCache()

ClearTokenCache - Clear the auth token cache

func LocalListener

func LocalListener() (*grpc.Server, *bufconn.Listener, error)

LocalListener - Bind gRPC server to an in-memory listener, which is

typically used for unit testing, but ... it should be fine

func StartClientListener

func StartClientListener(host string, port uint16) (*grpc.Server, net.Listener, error)

StartClientListener - Start a mutual TLS listener

Types

This section is empty.

Jump to

Keyboard shortcuts

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