Documentation ¶
Overview ¶
Package drpcopts contains internal options.
This package allows options to exist that are too sharp to provide to typical users of the library that are not required to be backward compatible.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStreamTerm ¶
func GetStreamTerm(opts *Stream) chan<- struct{}
GetStreamTerm returns the chan<- struct{} stored in the options.
func GetStreamTransport ¶
GetStreamTransport returns the drpc.Transport stored in the options.
func SetStreamTerm ¶
func SetStreamTerm(opts *Stream, term chan<- struct{})
SetStreamTerm sets the chan<- struct{} stored in the options.
func SetStreamTransport ¶
SetStreamTransport sets the drpc.Transport stored in the options.
Types ¶
Click to show internal directories.
Click to hide internal directories.