...

Package service

import "github.com/google/s2a-go/internal/handshaker/service"
Overview
Index

Overview ▾

Package service is a utility for calling the S2A handshaker service.

func Dial

func Dial(ctx context.Context, handshakerServiceAddress string, transportCreds credentials.TransportCredentials) (*grpc.ClientConn, error)

Dial dials the S2A handshaker service. If a connection has already been established, this function returns it. Otherwise, a new connection is created.