Versions in this module Expand all Collapse all v2 v2.0.4 Aug 2, 2021 Changes in this version + func NewClientContext(ctx context.Context, tr Transporter) context.Context + func NewServerContext(ctx context.Context, tr Transporter) context.Context + type Endpointer interface + Endpoint func() (*url.URL, error) + type Header interface + Get func(key string) string + Keys func() []string + Set func(key string, value string) + type Kind string + const KindGRPC + const KindHTTP + func (k Kind) String() string + type Server interface + Start func(context.Context) error + Stop func(context.Context) error + type Transporter interface + Endpoint func() string + Kind func() Kind + Operation func() string + ReplyHeader func() Header + RequestHeader func() Header + func FromClientContext(ctx context.Context) (tr Transporter, ok bool) + func FromServerContext(ctx context.Context) (tr Transporter, ok bool)