Documentation ¶
Index ¶
- func NewFnReadWriter(r func(context.Context) (*goatorepo.Rpc, error), ...) types.RpcReadWriter
- func StatsEndRPC(statsHandlers []stats.Handler, isClient bool, beginTime time.Time, ...)
- func StatsStartServerRPC(statsHandlers []stats.Handler, isClient bool, beginTime time.Time, ...) context.Context
- func ToKeyValue(mds ...metadata.MD) []*goatorepo.KeyValue
- func ToMetadata(kvs []*goatorepo.KeyValue) (metadata.MD, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFnReadWriter ¶
func NewFnReadWriter( r func(context.Context) (*goatorepo.Rpc, error), w func(context.Context, *goatorepo.Rpc) error, ) types.RpcReadWriter
NewFnReadWriter is a convenience wrapper to turn read and write functions into an RpcReadWriter.
func StatsEndRPC ¶ added in v0.1.4
func StatsStartServerRPC ¶ added in v0.1.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.