name

package
v0.0.0-...-8846729 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 4 Imported by: 2

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL