Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RPCCredentialsV2 ¶
func RPCCredentialsV2(sharedSecret string) credentials.PerRPCCredentials
RPCCredentialsV2 can be used with grpc.WithPerRPCCredentials to create a grpc.DialOption that inserts an V2 (HMAC) token with the current timestamp for authentication with a Gitaly server. The shared secret must match the one used on the Gitaly server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.