Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor(opts ...Option) grpc.StreamServerInterceptor
StreamServerInterceptor returns a new streaming server interceptor for OpenTracing.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(opts ...Option) grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptor for OpenTracing.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin https://fetch.spec.whatwg.org/#cors-protocol-and-credentials For requests without credentials, the server may specify "*" as a wildcard, thereby allowing any origin to access the resource.
func NewHandler ¶
func NewHandler(r PatternRegistry, opts ...Option) *Handler
func (*Handler) RegisterHandler ¶
type PatternRegistry ¶
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin https://fetch.spec.whatwg.org/#cors-protocol-and-credentials For requests without credentials, the server may specify "*" as a wildcard, thereby allowing any origin to access the resource.
func (*PatternRegistry) Register ¶
func (r *PatternRegistry) Register(f []runtime.Pattern)