Make the example command buildable on macOS
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
@@ -73,7 +73,7 @@ func dumpMetadata(ctx context.Context) {
|
||||
|
||||
func server() error {
|
||||
s, err := ttrpc.NewServer(
|
||||
ttrpc.WithServerHandshaker(ttrpc.UnixSocketRequireSameUser()),
|
||||
ttrpc.WithServerHandshaker(defaultHandshaker()),
|
||||
ttrpc.WithUnaryServerInterceptor(serverIntercept),
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user