Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "assh", Short: "assh - advanced ssh config", Version: version.Version + " (" + version.VcsRef + ")", TraverseChildren: true, }
RootCmd is the root cobra command containing all commands for assh.
Functions ¶
This section is empty.
Types ¶
type ConnectHookArgs ¶
type ConnectHookArgs struct { Host *config.Host Stats *ConnectionStats Error string }
ConnectHookArgs is the struture sent to the hooks and used in Go templates by the hook drivers
func (ConnectHookArgs) String ¶
func (c ConnectHookArgs) String() string
type ConnectionStats ¶
type ConnectionStats struct { WrittenBytes uint64 WrittenBytesHuman string CreatedAt time.Time ConnectedAt time.Time DisconnectedAt time.Time ConnectionDuration time.Duration ConnectionDurationHuman string AverageSpeed float64 AverageSpeedHuman string }
ConnectionStats contains network and timing informations about a connection
func (*ConnectionStats) String ¶
func (c *ConnectionStats) String() string
Click to show internal directories.
Click to hide internal directories.