package
0.4.5
Repository: https://github.com/cea-hpc/sshproxy.git
Documentation: pkg.go.dev

# Functions

CalcSessionID returns a unique 10 hexadecimal characters string from a user name, time, ip address and port.
CheckRoutes checks and replaces all hosts defined in a map of routes with their "host:port" value (in case the host is defined without a port).
GetGroups returns a map of group memberships for the current user.
MustSetupLogging setups logging framework.
ParseDuration parses a YAML string into a Duration or returns an error.
SplitHostPort splits a network address of the form "host:port" or "host[:port]" into host and port.

# Constants

DefaultSSHPort is the default SSH server port.

# Type aliases

Duration is a type used in configuration file to unmarshal a duration from a YAML string.