Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RecvMsgSize = 100 * 1024 * 1024 // 100MB SendMsgSize = 100 * 1024 * 1024 // 100MB )
These are defined as global variables, so that folks can expose them as flags in their entrypoints, if they choose.
Functions ¶
func GRPCOptions ¶
func GRPCOptions(delegate url.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
var ListenerForTest DialableListener
ListenerForTest is to support bufnet in our testing.
Click to show internal directories.
Click to hide internal directories.