options

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 9 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GRPCOptions

func GRPCOptions(delegate apis.URL) (string, []grpc.DialOption)

func RegisterListenerForTest added in v0.4.0

func RegisterListenerForTest(listener DialableListener) string

Register a test listener and get a provided scheme.

func UnregisterTestListener added in v0.4.0

func UnregisterTestListener(scheme string)

Unregister a test listener.

Types

type DialableListener added in v0.4.0

type DialableListener interface {
	net.Listener

	Dial() (net.Conn, error)
}
var ListenerForTest DialableListener

ListenerForTest is to support bufnet in our testing.

Jump to

Keyboard shortcuts

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