Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallMeta ¶
type CallMeta struct { // Service is the name of the service containing the method. Service string // Method is the name of the specific method. Method string // Transport is the transport used for the call. Transport transport.Transport }
CallMeta contains metadata related to a method call.
var ( // NilCallMeta is empty CallMeta, all zero values. NilCallMeta CallMeta )
func CallMetaFromContext ¶
CallMetaFromContext returns the call meta from ctx.
func (CallMeta) FullMethod ¶
FullMethod returns the fully qualified method name (service/method). Example: "concerto.test.v1.TestService/Ping".
type MethodInfo ¶
type MethodInfo struct { // Name is the name of the method. Name string // FullName is the fully qualified name of the method. FullName string }
MethodInfo represents information about a specific method.
Directories ¶
Path | Synopsis |
---|---|
Package conv contains common conversions.
|
Package conv contains common conversions. |
Package endpoint contains offers for configuring and constructing github.com/go-kit/kit/endpoint.Endpoint.
|
Package endpoint contains offers for configuring and constructing github.com/go-kit/kit/endpoint.Endpoint. |
middleware/callmeta
Package callmeta provides middleware for setting CallMeta (service name, method name, transport) to the context of the request.
|
Package callmeta provides middleware for setting CallMeta (service name, method name, transport) to the context of the request. |
sample
|
|
Package transport contains utilities for all supported transports.
|
Package transport contains utilities for all supported transports. |
thrift
Package thrift provides a Thrift binding for endpoints.
|
Package thrift provides a Thrift binding for endpoints. |
thrift/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.