rootapi

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(info *Info, sshConn *sshc.SshConnection, router *gin.RouterGroup)

Routes setup the root api routes

Types

type Info

type Info struct {
	SshClientURI              string   `json:"SshClientURI"`
	SshClientConnectionStatus string   `json:"SshClientConnectionStatus"`
	JumpHosts                 []string `json:"JumpHosts"`
}

Info holds useful information to display on the ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL