Documentation ¶
Index ¶
- func ActivityStreamServerInterceptor(activityClient activity.Client) grpc.StreamServerInterceptor
- func ActivityUnaryServerInterceptor(activityClient activity.Client) grpc.UnaryServerInterceptor
- func RequestHTTPHandler(route string, fn func(route string, req *http.Request) error, ...) http.Handler
- func TimeoutStreamServerInterceptor(fn func(method string) time.Duration) grpc.StreamServerInterceptor
- func TimeoutUnaryServerInterceptor(fn func(method string) time.Duration) grpc.UnaryServerInterceptor
- type HTTPError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamServerInterceptor ¶ added in v0.31.0
func ActivityStreamServerInterceptor(activityClient activity.Client) grpc.StreamServerInterceptor
func ActivityUnaryServerInterceptor ¶ added in v0.31.0
func ActivityUnaryServerInterceptor(activityClient activity.Client) grpc.UnaryServerInterceptor
func RequestHTTPHandler ¶ added in v0.29.0
func RequestHTTPHandler(route string, fn func(route string, req *http.Request) error, next http.Handler) http.Handler
RequestHTTPHandler calls fn on each request.
func TimeoutStreamServerInterceptor ¶
func TimeoutStreamServerInterceptor(fn func(method string) time.Duration) grpc.StreamServerInterceptor
func TimeoutUnaryServerInterceptor ¶
func TimeoutUnaryServerInterceptor(fn func(method string) time.Duration) grpc.UnaryServerInterceptor
Types ¶
Click to show internal directories.
Click to hide internal directories.