# Functions
GetGitPushCommandPipe reads JSON from STDIN, pipe it to the helper, and output the result in JSON.
GetLoginFromEmail gets login name from email address.
GetProxyFromGitConfig returns http proxy url through http.proxy.
NewAGitProtoHelper returns AGitProtoHelper object.
NewDefaultProtoHelper returns DefaultProtoHelper object.
NewExternalProtoHelper returns ExternalProtoHelper object.
NewGerritProtoHelper returns GerritProtoHelper object.
NewProtoHelper returns proto helper for specific proto type.
NewShellCmd creates ShellCmd object from command line.
NewShellCmdFromArgs creates ShellCmd from command args.
NewSSHCmd returns SSHCmd by inspecting environments like `GIT_SSH_COMMAND`.
NewSSHInfoQuery creates new query object.
ReplaceMacros replaces macros in string.
# Constants
Proto types.
Proto types.
Define constants for SSH variant types.
Define constants for SSH variant types.
Define constants for SSH variant types.
Define constants for SSH variant types.
Define constants for SSH variant types.
Define constants for SSH variant types.
# Variables
Email patterns.
NormalArgsPattern matches args which do not need to be quoted.
Email patterns.
# Structs
AGitProtoHelper implements helper for AGit server.
DefaultProtoHelper implements helper for unknown remote service.
ExternalProtoHelper implements helper for unknown remote service.
GerritProtoHelper wraps helper for gerrit server.
GitPushCommand holds command and args for git command.
ShellCmd is used to parse shell command.
SSHCmd is composor for SSH command.
SSHInfo stands for Smart Submit Handler information.
SSHInfoQuery wraps cache to accelerate query of ssh_info API.
# Interfaces
ProtoHelper defines interface for proto helper.