Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IfAbsentStreamInterceptor ¶
func IfAbsentStreamInterceptor(name string) grpc.StreamServerInterceptor
IfAbsentStreamInterceptor defines a server stream interceptor that sets the request name to name if it is unset. Useful to implement the Smart Core property that an absent name should refer to the server serving the request.
func IfAbsentUnaryInterceptor ¶
func IfAbsentUnaryInterceptor(name string) grpc.UnaryServerInterceptor
IfAbsentUnaryInterceptor defines a server unary interceptor that sets the request name to name if it is unset. Useful to implement the Smart Core property that an absent name should refer to the server serving the request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.