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 ¶
- func GetStreamFin(opts *Stream) chan<- struct{}
- func GetStreamKind(opts *Stream) string
- func GetStreamTransport(opts *Stream) drpc.Transport
- func SetStreamFin(opts *Stream, fin chan<- struct{})
- func SetStreamKind(opts *Stream, kind string)
- func SetStreamTransport(opts *Stream, tr drpc.Transport)
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStreamFin ¶ added in v0.0.33
func GetStreamFin(opts *Stream) chan<- struct{}
GetStreamFin returns the chan<- struct{} stored in the options.
func GetStreamKind ¶ added in v0.0.31
GetStreamKind returns the kind debug string stored in the options.
func GetStreamTransport ¶
GetStreamTransport returns the drpc.Transport stored in the options.
func SetStreamFin ¶ added in v0.0.33
func SetStreamFin(opts *Stream, fin chan<- struct{})
SetStreamFin sets the chan<- struct{} stored in the options.
func SetStreamKind ¶ added in v0.0.31
SetStreamKind sets the kind debug string 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.